Support » Plugin: WordPress Email Template Designer - WP HTML Mail » HTML tags rendered as text

  • Resolved karlemilnikka


    After upgrading from to, my HTML e-mails are sent with the HTML tags rendered as text (instead of affecting the styling). I’m using a custom e-mail template so I’ll investigate if something has to be updated to be compatible with

Viewing 15 replies - 16 through 30 (of 30 total)
  • Hi @haet.
    I’m the CTO of Formidable Forms. I’m looking into this to see what the problem is on our end, but I’m not seeing anything wrong. The only difference I’m seeing is that our headers are in an array, and WooCommerce is a string. I see in the beta version you now allow for arrays.

    Is there still something that needs to be fixed in other plugins? Or was this an issue on your end with only checking for string headers?

    Hi, I have the same issue and I’m not using any plugin to send the email, just the plain wp_mail() function. I set the content type to text/html by passing it in the $header parameter as per documentation

    I think this should be working, I don’t see what I could be doing differently. But I’m happy for any advice 🙂

    Just tested the beta, and this seems to be fixed (even without turning the new option in the admin on). Thank you!

    Hey @sswells
    an array should be fine now. Have you tested the beta? does ist work with formidable forms?

    Hi @haet. I didn’t get notice you had replied otherwise I would have replied sooner.

    The issue affects all email whether sent via a plugin or not.

    The reason I mentioned POST SMTP was to demonstrate that email headers and WordPress inherent email issues were not affecting the sites in question because POST SMTP resolves them, which means the bug is most likely somewhere within WP HTML Mail.

    The plugins that send their own mail in my two affected sites are:

    1) Matador Jobs
    2) ACF Advanced Forms (which uses Advanced Custom Fields to build email forms)

    As I say, all mail is affected by the bug including regular WordPress emails.

    I use WP HTML Mail in only these two sites.

    Thanks for your help, Hannes.

    An update has beet released which should solve this problem for everyone.

    Thanks Hannes, my pretty emails are back!

    However, I noticed one new issue… Password reset html links are now being stripped out of password reset emails when the plugin is active. If I deactivate the plugin the links are there, but back to ugly.

    Any ideas?

    Thread Starter karlemilnikka


    I can confirm that we have the same password reset issue as @garysteel. Password resets works fine with version



    Same problem with this plugin
    AJAX Login and Registration modal popup + inline form

    “BBpress” with “bbPress Notify (No-Spam)” Also seems affected by this. It’s paid membership site so not overly keen on testing beta releases on it I’m afraid.

    When I use this plugin with the ‘WP Mail SMTP by WPForms’ plugin the email renders with HTML tags.

    Hi, I have this problem with MemberPress emails on the latest version

    Edit: my bad, I had not ticked the box in Advanced settings. Apologies!

    • This reply was modified 1 year, 9 months ago by outpost33.
    • This reply was modified 1 year, 9 months ago by outpost33.

    the same thing happens with Wpforo plugin

    There’s a checkbox on the tab advanced of the plugin settings to allow HTML when the original sender plugin doesn’t define a correct content type. This could be a workaround

    Here’s a bit of a contrarian post: mails sent by Gravity Forms, Modern Event Calendar and WooCommerce on a clients site are formatted nicely as HTML, using the WP HTML mail template, but mails sent from WP core are all HTML tags in plain text.

    (delivery is over SES, using Offload SES lite, in case that makes a difference)

    • This reply was modified 1 year, 1 month ago by .
Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘HTML tags rendered as text’ is closed to new replies.