Email support with WordPress on Azure AppService

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Community Hub.

The email feature in WordPress is crucial for effective communication and user engagement. WordPress websites often require communication with users for various purposes, such as user registrations, password resets, campaigns, and contact form submissions etc. WordPress on App Service has been integrated with Azure Email Communication service to enable email feature.

 

The email Integration with WordPress on Azure AppService can be achieved in 2 ways:

  1. Newly created sites:  Email integration is enabled and configured out of the box.
  2. Existing WordPress sites:  It needs an explicit integration setup as per the steps outlined below.  

1.    Configuring Email with New WordPress Websites

 

  • Create WordPress site from Azure Marketplace offering
  • To enhance the user experience, we have enabled email support for all the SKUs (Basic/Standard/Premium) by default.
  • As a default option, we offer an Azure managed domain for sending emails from WordPress sites. This seamless integration allows you to easily send emails without the need for additional setup.

 

2.     Configuring Email with Existing WordPress Websites

 

Prerequisites: As a user, you already have an active Azure subscription and an active WordPress site hosted on Azure AppService.

 

  1. Create the Azure Communication Resource following quick start guide
  2. Create the Email communication Resource following the quick start guide
  3. Add Azure managed domain to email communication service following the quick start guide.
  4. Connect the azure managed domain with azure communication service resource following the quick start guide
  5. Go to Azure communication service resource and navigate to keys blade and save the primary key and resource endpoint for later use.

  RadhikaB_0-1691074673442.png

 

  1. Go the Azure email managed domain resource and navigate to MailFrom Addresses blade and save the MailFrom address.
  2. Go the App service resource and add the app setting in the below format
             App Setting Name: WP_EMAIL_CONNECTION_STRING. 
    • Note: Replace <endpoint> and <access-key> with the Azure communication service endpoint and primary key mentioned in step 5 And replace <sender-address > with MailFrom Address mentioned in step 6.
  3. Download the App service email plugin from here: Click here.
  4. Go to WordPress Admin Dashboard, navigate to plugins tab and then click on add new plugin.

        

RadhikaB_1-1691074673459.png

 

  1. Click on Upload Plugin and upload the App service Email plugin zip file (downloaded in above step).
  2. Install and activate the plugin.

After installing and activating the App service email plugin, your email setup is fully configured and ready to be utilized for sending emails from your WordPress website.

 

Support and Feedback 

In case you need any support, you can open a support request at New support request - Microsoft Azure

If you have any ideas about how we can make WordPress on Azure App Service better, please post your ideas at Post idea · Community (azure.com)  You can report an issue in Github

or you could email us at wordpressonazure@microsoft.com to start a conversation.

 

 

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.