Title: Setup API for different domain
Last modified: July 11, 2023

---

# Setup API for different domain

 *  [Carl M.](https://wordpress.org/support/users/ccmanz/)
 * (@ccmanz)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/setup-api-for-different-domain/)
 * Hello, 
   I have a unique situation and was wondering if using this plug will still
   work so that transactional emails from site are still verified when received.
   So here is my case, we have a main domain lets say **primarydomain.com **were
   all the transactional emails are being sent from.However, we have a another domain**
   secondarydomain.com **to receive the emails sent from primarydomain.com.My question
   is it still possible to verify the transactional emails from **primarydomain.
   com** to **secondarydomain.com** using this plugin and its setup? Thanks,Carl

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Carl M.](https://wordpress.org/support/users/ccmanz/)
 * (@ccmanz)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/setup-api-for-different-domain/#post-16885830)
 * Note: only secondarydomain.com email is hosted in microsoft.
 *  Plugin Author [Marco van Wieren](https://wordpress.org/support/users/wpo365/)
 * (@wpo365)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/setup-api-for-different-domain/#post-16885878)
 * Hi [@ccmanz](https://wordpress.org/support/users/ccmanz/)
 * Thank you for reaching out!
 * I am not sure I understand what you mean with “verify the transactional emails
   from **primarydomain.com** to **secondarydomain.com**“. If you install and configure
   this plugin, you will “automatically” connect it to an Azure AD instance to “
   register” your website and to be able to send email from an Microsoft 365 / Exchange
   Online mailbox using Microsoft Graph. The website domain is not of any importance.
   The only domain is the one used to build the email address e.g. [user@domain.com](https://wordpress.org/support/topic/setup-api-for-different-domain/user@domain.com?output_format=md).
   This domain must be verified before it can be used.
 *  Thread Starter [Carl M.](https://wordpress.org/support/users/ccmanz/)
 * (@ccmanz)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/setup-api-for-different-domain/#post-16885935)
 * Hi [@wpo365](https://wordpress.org/support/users/wpo365/) 
   Thanks for getting
   back to me quickly. Sorry for the confusion! Yes, that’s what I need to know.
   I thought website domain is of importance when setting it up. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Setup API for different domain’ is closed to new replies.

 * ![](https://ps.w.org/wpo365-msgraphmailer/assets/icon-256x256.png?rev=2683315)
 * [WPO365 | MICROSOFT 365 GRAPH MAILER](https://wordpress.org/plugins/wpo365-msgraphmailer/)
 * [Support Threads](https://wordpress.org/support/plugin/wpo365-msgraphmailer/)
 * [Active Topics](https://wordpress.org/support/plugin/wpo365-msgraphmailer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpo365-msgraphmailer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpo365-msgraphmailer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Carl M.](https://wordpress.org/support/users/ccmanz/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/setup-api-for-different-domain/#post-16885935)
 * Status: not resolved