Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for using custom email domain #161

Open
victorlin opened this issue Jul 20, 2024 · 3 comments
Open

Add documentation for using custom email domain #161

victorlin opened this issue Jul 20, 2024 · 3 comments
Assignees

Comments

@victorlin
Copy link

victorlin commented Jul 20, 2024

The custom domain documentation only provides instructions for the app service. It would be great if there was additional documentation on changing the email domain so that the sender address is [email protected] instead of the default which looks something like DoNotReply@a9ad25fe-cef3-43d3-bbe8-8b57eb2fce56.us1.azurecomm.net.

These were the steps I took to achieve that:

  1. Go to the Email Communication Service resource > Settings > Provision domains
  2. Select Add domain > Custom domain
  3. Follow prompts to add the domain name
    • Note: This will create a new Email Communication Services Domain resource.
    • Note: For proper domain verification, I had to use @ instead of the domain for the TXT name.
  4. Go to the Communication Service resource > Email > Domains
  5. Disconnect the default domain: Options (3 dots) > Disconnect
  6. Select Connect domain
  7. Follow prompts to add the new Email Communication Services Domain resource
  8. Go to the App Service resource > Settings > Environment variables
  9. Edit the WP_EMAIL_CONNECTION_STRING
  10. Replace [email protected] with [email protected]
  11. Apply changes
  12. Restart app service (?)

I can submit these steps as a PR if preferred.

@bmanjwani
Copy link
Collaborator

bmanjwani commented Jul 22, 2024

@victorlin
We have existing documentation for WordPress email integration. The steps for Azure managed domains are nearly identical to those for custom domains. You can find the specific steps for Azure managed domains here: WordPress Email Integration on GitHub.

For integrating custom domains with your ACS email addresses, please follow the instructions in these links:

Add Custom Verified Domains

@victorlin
Copy link
Author

@bmanjwani thanks for those links. I was able to figure this out but those links aren't sufficient.

My suggestion is to add a new section in the Wordpress Email Integration doc. Example:

Configuring a custom domain for sender address

  1. Add a custom domain to the Email Communication Service resource by following instructions here: Add Custom Verified Domains
  2. Go to the Communication Service resource > Email > Domains
  3. Disconnect the default domain: Options (3 dots) > Disconnect
  4. Select Connect domain
  5. Follow prompts to add the new Email Communication Services Domain resource created from step 1.
  6. Go to the App Service resource > Settings > Environment variables
  7. Edit the WP_EMAIL_CONNECTION_STRING
  8. Replace [email protected] with [email protected]
  9. Apply changes
  10. Restart app service (?)

@inclusiviteasy
Copy link

Oh man thanks for this, the missing piece for me was changing the environment variable... thanks for highlighting this @victorlin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants