using azure to send email in wordpress

Willis Mitchell 0 Reputation points


I am using a plugin in wordpress (fluent smtp) to send email through an email address which domain is registered at Godaddy and using microsoft 365 outlook etc.

I followed the instructions to set up an app on Azure 3 times now but the connection fails with the error 'forbidden' the email and password are correct I';m positive the API details I needed to entry for the Azure app are correct.

What's could be wrong, does a payment method need to be attached the the azure account like for Google Cloud by chance?



Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,534 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    It's possible that your Azure account subscription is blocking outbound SMTP connections on TCP port 25. This is a security measure that is in place in Azure to protect customers and conform to industry standards.

    There are certain Azure subscription types that allow outbound SMTP connections on port 25 for virtual machines, but this is not the case for all subscription types. Additionally, it's recommended that you use authenticated SMTP relay services like SendGrid to send email from Azure VMs or App Services.

    Therefore, it's best to check if your subscription type is on the list of allowed subscriptions, and if not, consider using an authenticated SMTP relay service like SendGrid or configuring the Simple Mail Transfer Protocol (SMTP) connector in Azure Logic Apps.

    If none of these options work, you can contact Azure support for further assistance. Make sure to select the right issue type when creating a support ticket, in this case, "Technical > Virtual Network > Cannot send email (SMTP/Port 25)."

    1 person found this answer helpful.
    0 comments No comments

  2. Lex Li (Microsoft) 4,247 Reputation points Microsoft Employee

    This has just been blogged by Microsoft,

    You can use Azure Communication Services Email if you like.

    1 person found this answer helpful.
    0 comments No comments