Azure / wordpress-linux-appservice

MIT License
113 stars 71 forks source link

HTML emails getting mangled #118

Closed michaelassad closed 1 year ago

michaelassad commented 1 year ago

The email plugin is working great after some wrangling through all the Azure screens. However, my HTML emails from WordPress are getting mangled. Looks like additional < br > tags are getting inserted somewhere along the line. Is there a way around that?

bmanjwani commented 1 year ago

@michaelassad , Can you share the screenshot of the emails which is being mangled? Are you sending emails using some plugin ?

michaelassad commented 1 year ago

I'm using WP Forms and WooCommerce. For example, the WooCommerce order email gets spread out like this:

image image

michaelassad commented 1 year ago

WP Forms is like this:

image image image [...] image

michaelassad commented 1 year ago

I have confirmed the same results on a brand new Wordpress App Service install in the Central US location.

bmanjwani commented 1 year ago

@michaelassad , Can you consider using a different plugin in place of WP Forms and see if that works for you?

michaelassad commented 1 year ago

My bigger concern is the WooCommerce emails. I can send everything in plain text for now, but would like to know there's a path to fix this before fully committing to the App Service model.

michaelassad commented 1 year ago

Is there a contact form plugin that you recommend?

michaelassad commented 1 year ago

Obvious Answer: SendGrid. The Azure Communications Services isn't there yet.

bmanjwani commented 1 year ago

@michaelassad ,Thank you for your feedback. Azure's email communication service has its unique strengths, but I understand your concern. SendGrid is a dedicated email service provider, while azure's offering is integrated with a broader cloud platform. We are continually improving our service and making it stronger choice for businesses.

Please provide your email address so that I can book a slot and review your setup to further assist you.

michaelassad commented 1 year ago

I would prefer to do everything within Azure services but there are two key things missing from the current implementation for using with WordPress / WooCommerce:

1) HTML emails don’t work well - you can’t have customers of your eCommerce store getting mangled emails

2) The reply-to population for emails doesn’t work. So for example, if someone emails you from a website contact form, you can’t simply reply to that email to respond to them. This is a must have.

So hopefully these two issues are resolved and I can avoid the third party service. In the meantime the sendgrid app for azure with an smtp plugin works great! Thanks for your help!!

michaelassad commented 1 year ago

I would prefer to do everything within Azure services but there are two key things missing from the current implementation for using with WordPress / WooCommerce:

1) HTML emails don’t work well - you can’t have customers of your eCommerce store getting mangled emails

2) The reply-to population for emails doesn’t work. So for example, if someone emails you from a website contact form, you can’t simply reply to that email to respond to them. This is a must have.

So hopefully these two issues are resolved and I can avoid the third party service. In the meantime the sendgrid app for azure with an smtp plugin works great! Thanks for your help!!