@jaswanthjesse
Only if the content type is set in the mail header, it will be processed as an HTML mail. The default content type is ‘text/plain’ which does not allow using HTML. You can set the content type of the email either by using the ‘wp_mail_content_type‘ filter or by including a header like “Content-type: text/html”.
For more details, please refer the help document below:
https://developer.ww.wp.xz.cn/reference/functions/wp_mail/#usage
In case, if you need any help with the configuration, please drop an email to support[AT]zohomail[DOT]com with your contact details and we shall call and help you with it.
We are using smtp mail and it is working fine, but with the same mail and everything being same HTML mails do not work with ZOHO mail plugin.
My question here is, if something was wrong from our end it should not work with any SMTP plugins right? But as mentioned earlier it is working with SMTP Mail plugin, only Zoho Mail plugin behaves odd.
I have the same issue and I checked everything into the code, even if you write you custom wp_mail() with a simple html message and headers set to “Content-Type: text/html”, it doesn’t work !!! email are still received in plain text
Zoho, please verify your code, the problem come from your side!
Thanks in advance