Hi, so this usually occurs if you’re trying to connect a free version of Outlook, Hotmail etc. rather than a paid for subscription service such as Office 365 or Exchange. Unfortunately Microsoft don’t support the Graph API for free accounts.
If you’re not using a free account, the other thing that might be causing this is if you’ve chosen a different option to ‘Accounts in this organisational directory only’ under Step 3.
Ed
Thank you for your help, I entered the wrong option for Step 3.
No worries, glad you’ve got it working!
That worked, but is there a way to change the from name? When I set the from name in my contact form it doesn’t seem to recognize it.
So given this plugin is about mail deliverability, I do not provide the facility to register an account, but change the from name to something different. This is to avoid issues with such emails going to spam, (depending on the receiving mail servers settings for SPF, DMARC and DKIM as explained here: https://www.howtogeek.com/689267/how-to-send-an-email-with-a-different-from-address-in-outlook).
However, I do provide a plugin-wide setting to send as a different account to the one authorised with WordPress. This will mean the email is shown as coming from the another account (specified within the plugin settings page), rather than the account you have linked to WordPress. This functionality is outlined in Step 8 of the setup guide.
Note however, that the chosen other account must allow the registration account access to be able to send email as this other account. The steps to do this within Office 365/Exchange are outlined here: https://docs.microsoft.com/en-us/microsoft-365/admin/add-users/give-mailbox-permissions-to-another-user?view=o365-worldwide
This ensures email is not sent to Spam, as we are not spoofing the from name to be different to the sent address! The email is generally coming from the other account to the one registered with WordPress.
-
This reply was modified 3 years, 3 months ago by edwardcross.
-
This reply was modified 3 years, 3 months ago by edwardcross.