Title: HTML codes in wordpress core Emails
Last modified: May 24, 2021

---

# HTML codes in wordpress core Emails

 *  Resolved [agamashish](https://wordpress.org/support/users/agamashish/)
 * (@agamashish)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/html-codes-in-wordpress-core-emails/)
 * The plugin is working great but the only problem I have been facing since the
   beginning is that all the wordpress core Emails are either plain texts or HTML
   codes. (I am using the Version 1.7.1)
 * I have been using **Kadence WooCommerce Email Designer** for WooCommerce Emails
   and they are working fine. Earlier the plugin was not sending the woocommerce
   test emails but your new update (Version 1.7.1) has completely fixed the problem.
   Thank you so much for the update.
    However, I’ve tried multiple plugins for HTML
   formating of core Emails and they all are sending plain texts. Currently, I am
   testing **Better Notifications for WP**. When I send testing email say for “password
   reset” from the plugin it is in the HTML as visible in the following image. [HTML Test Email](https://snipboard.io/xDpG0w.jpg)
   But when wordpress send password reset Email to a user the same Email has only
   the HTML codes as visible in the following image. [ Actual Email](https://snipboard.io/WN2qZ5.jpg)
 * All other plugins were sending the plain text whether it is a test email or actual
   wordpress core email.
 * Would you please tell me what is causing this issue? Is that plugin compatibility
   or some settings?
    -  This topic was modified 4 years, 11 months ago by [agamashish](https://wordpress.org/support/users/agamashish/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [dyin](https://wordpress.org/support/users/dyin/)
 * (@dyin)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/html-codes-in-wordpress-core-emails/#post-14475305)
 * [@agamashish](https://wordpress.org/support/users/agamashish/) I am also using
   woocommerce and Kadence WooCommerce Email Designer and I haven’t seen any issues
   yet.
 *  Thread Starter [agamashish](https://wordpress.org/support/users/agamashish/)
 * (@agamashish)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/html-codes-in-wordpress-core-emails/#post-14479543)
 * [@dyin](https://wordpress.org/support/users/dyin/) Yes, woocommerce emails are
   working fine. It’s the HTML code in Email issue I was talking about.
 *  [edwardcross](https://wordpress.org/support/users/edwardcross/)
 * (@edwardcross)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/html-codes-in-wordpress-core-emails/#post-14480683)
 * So html emails appear as html rather than text emails (i.e. without the tags)
   for woocommerce and other contact form plugins such as Contact Form 7. Hence 
   I’m pretty sure my plugin is set to handle any HTML email. I suspect this is 
   due to how the designer plugin is modifying the headers, or where it applies 
   the template in the wp_mail call. However, I can’t work out how the designer 
   plugin is modifying the emails, so this maybe something I can’t support I’m afraid.
    -  This reply was modified 4 years, 11 months ago by [edwardcross](https://wordpress.org/support/users/edwardcross/).
 *  Thread Starter [agamashish](https://wordpress.org/support/users/agamashish/)
 * (@agamashish)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/html-codes-in-wordpress-core-emails/#post-14481550)
 * Yeah, all non-core Emails like Woocommerce and Contact Form 7 are working fine.
   It’s just the core Emails that are either plain text or HTML codes. I have tried
   almost every top Email template plugin and none of them are working with HTML.
   They are either sending plain text or HTML codes.
    Someone also facing the same
   issue reported on previous support topic a few days back. [https://wordpress.org/support/topic/office-365-send-html-source-code/](https://wordpress.org/support/topic/office-365-send-html-source-code/)
 * Could you please check on your end if any of the Email template plugins is causing
   the same issue that I am facing?
    It will confirm whether I am the only one who
   is facing this issue.
 *  [edwardcross](https://wordpress.org/support/users/edwardcross/)
 * (@edwardcross)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/html-codes-in-wordpress-core-emails/#post-14483857)
 * Hi, just to clarify, you’re only getting HTML tags appear in core emails that
   you’ve tried to modify with the customisation plugin? If you remove the customisation,
   the emails appear fine? Hence I need to examine the code of the customisation
   plugin to see what it’s doing and try and work out how it’s applying the customisation
   to see if it’s possible to address with a change to my plugin’s code (which it
   may not be)?
 *  Thread Starter [agamashish](https://wordpress.org/support/users/agamashish/)
 * (@agamashish)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/html-codes-in-wordpress-core-emails/#post-14488434)
 * It is no longer an issue for me, as my mostly Emails are now related to woocommerce
   and those are working great.
 * Thank you for your time and support.
    -  This reply was modified 4 years, 11 months ago by [agamashish](https://wordpress.org/support/users/agamashish/).

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘HTML codes in wordpress core Emails’ is closed to new replies.

 * ![](https://ps.w.org/mail-integration-365/assets/icon-256x256.png?rev=2817704)
 * [WPO365 | Mail Integration for Office 365 / Outlook](https://wordpress.org/plugins/mail-integration-365/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mail-integration-365/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mail-integration-365/)
 * [Active Topics](https://wordpress.org/support/plugin/mail-integration-365/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mail-integration-365/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mail-integration-365/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [agamashish](https://wordpress.org/support/users/agamashish/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/html-codes-in-wordpress-core-emails/#post-14488434)
 * Status: resolved