mail is not sent with azure app when connected to fluentsmtp for wordpress

GS 5 Reputation points
2024-08-22T20:43:49.4033333+00:00

I have configured fluentSMTP with Office 365 on a WordPress website with the following guide https://fluentsmtp.com/docs/setup-outlook-with-fluentsmtp/. But when I run a email test I get an "not found" error:

{
  "code": 422,
  "message": "Not Found",
  "errors": [
    "Not Found"
  ]
}

I tried again with a different account/app and there i get a not authorized error:

{
  "code": 422,
  "message": "Unauthorized",
  "errors": [
    "Unauthorized"
  ]
}
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,937 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 17,766 Reputation points Moderator
    2024-08-23T15:12:31.7466667+00:00

    Hi @GS Greetings! Welcome to Microsoft Q&A forum. Thank you for posting this question here.

    I apologize for the inconvenience you are facing. I would like to make a note that this is a third-party plugin and Microsoft do not have any control over the behavior or the underlying source code of the plugin. I see many comments on the FluentSMTP article that people are facing this error even after following the same steps outlined in the document.

    If you are certain that you followed all the steps in the documentation properly, you can initiate a support ticket request with the plugin provider through the following link for further assistance.

    If you don't get any feedback from the providers, I recommend using an alternate similar plugins such as Gravity SMTP. You can find the documentation for the plugin through the following link - How to Send WordPress Emails with Microsoft 365 / Outlook

    A side note that Gravity SMTP document says you would need to enable Microsoft 365/Outlook as your primary email sender under settings tab of your SMTP plugin before you can send a email. See if there is any similar setting under Fluent SMTP that can be enabled to resolve this issue.

    Hope this helps!


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    0 comments No comments

  2. Ramon Hanneman 0 Reputation points
    2024-11-29T13:03:05.34+00:00

    I've had the exact same issue before. You need to request the token with the exact same account as the e-mail address your are trying to send from. After doing this my issue was gone and it worked perfectly.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.