Azure / wordpress-linux-appservice

MIT License
96 stars 65 forks source link

Sending email containing a html body #107

Closed rduque1 closed 10 months ago

rduque1 commented 10 months ago

Hi,

I installed the plugin Azure Wordpress-on-Linux-App-Service-plugins main app_service_email.zip and followed the installation steps described in the WordPress Email Integration, and this works.

However the emails containing a HTML body are send as plain text. How can we send them as HTML?

Thanks

rabollin commented 10 months ago

@rduque1 - we will be adding that support shortly, in weeks time.

bmanjwani commented 10 months ago

@rduque1 - Can you tell us the steps to replicate the scenario where emails containing a HTML body are send as plain text ?

rduque1 commented 10 months ago

We use the plugin Ultimate member plugin. This plugin allows to send emails at registration, approval, ... etc. You can choose to specify an HTML or text body.

But if I am correct in the code of the plugin you never specify in the post request to the endpoint that the content is HTML. Because in the documentation for the CLI tool for the Azure communication services you the arguments given to the CLI command are different when it's plain text or html.

bmanjwani commented 10 months ago

We have updated our plugin to support the html content. You can download the zip file of latest version of the plugin using this link. Please let us know if email integration is working for you now.

rduque1 commented 10 months ago

@bmanjwani it's working. Thank you