• Resolved garethpagesetup

    (@garethpagesetup)


    Hi

    FluentSMTP has been working brilliantly until at least a few days ago.

    I am getting Unauthorized error when sending a test email (Microsoft account):

    { “code”: 422, “message”: “Unauthorized”, “errors”: [ “Unauthorized” ] }

    I also setup a separate SMTP account to send from but this is not working either:

    { “code”: 422, “message”: “SMTP Error: Could not connect to SMTP host. Failed to connect to server”, “errors”: [ “SMTP Error: Could not connect to SMTP host. Failed to connect to server” ] }

    I am on a GoDaddy managed wordpress package, there were several plugin updates recently but any help would be great.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Support Ibrahim Sharif

    (@ibrahimsharif)

    Hello @garethpagesetup,

    Based on the errors you’re seeing, and considering you’re on GoDaddy-managed WordPress hosting, there are a few key areas we can investigate:

    Here are a few potential reasons why you might be experiencing the error:

    1. Incorrect App Callback URL: Please double-check the URL you use to access the API endpoint provided by Fluent SMTP settings. Make sure that it is spelled correctly and includes any necessary parameters. This is a very common source of issues.
    2. Insufficient permissions: It is likely that the email address you are trying to use as the sender has no Mailbox created, has no permission to send emails, or it does not have any valid Office365 subscription. Ensure that the sending account has the necessary permissions within your Microsoft 365 setup.
    3. Incorrect Account Type: It is possible that you have selected the wrong account type while creating the Azure App. It must be “Accounts in any organizational directory (Any Azure AD directory – Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)”. Double-check the settings within your Azure App registration.
    4. Incorrect Logged-in Account: When you click on the authorize button it asks you to log in to the Microsoft account and it should be using the same email or same account that is used to create the Azure App. Using the correct account during authorization is critical.
    5. Domain Verification: Also recheck that you have verified your domains inside Microsoft Office365. Unverified domains can lead to sending restrictions.

    Regarding the “SMTP Error: Could not connect to SMTP host” message, since you’re on GoDaddy Managed WordPress, it’s possible they have specific restrictions on outbound SMTP connections. You might need to contact GoDaddy support directly to confirm if they allow connections to the SMTP host you’re trying to use and if there are any specific settings required for their environment. This error message is connected with network-level specifications like SMTP Port.

    If none of these solutions resolve your issue, you may consult the Office 365 API documentation here again: https://fluentsmtp.com/docs/setup-outlook-with-fluentsmtp/ or reach out to Microsoft Office365 Support for further assistance.

    Please go through these points and let me know the results.

Viewing 1 replies (of 1 total)

The topic ‘Unauthorized Error’ is closed to new replies.