devop7934
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Template Designer - WP HTML Mail] Sending Mail via WP_MailI’ve looked into this further and can confirm the </br> format of the <br> tag appears to be a more widespread issue for mail clients. As stated above <br> without a slash works for me in limited test scenarios, however it is possible a <br/> or <br /> may work too.
Further reading: https://stackoverflow.com/questions/23760210/how-to-use-the-brtag-in-email-content
Forum: Plugins
In reply to: [Email Template Designer - WP HTML Mail] Sending Mail via WP_MailOK… I’ve resolved this issue.
Answers to question….
Only one other mail related plugin (Zoho Mail- witch uses Oauth to send via smtp) is installed.
All form plugins and those shipped with the theme were disabled with the original tests.
The issue…
When testing HTML is was only using html </br> tags for line breaks…. rather than full formatting. It appears these are stripped. If changed to old style <br> without the backslash they are not stripped. I have now added more detailed HTML mark-up and changed Content-type in header and add filter to text/html.
Everything appears to work correctly now with display in outlook and Zoho mail clients reflecting desired outcome.
I do not know if the striping of </br> is occurring in your plugin, Zoho mail plugin or the end email client. But I have a working solution…
Hope this helps someone else battling format/display