Title: Monthly reports show HTML source code
Last modified: May 1, 2026

---

# Monthly reports show HTML source code

 *  Resolved [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/)
 * Hi, after activating monthly reports, I get unreadable e-mails that look like:
 * ![](https://i0.wp.com/snipboard.io/Zm1s9C.jpg?ssl=1)
 * The site in question uses the [Post SMTP](https://wordpress.org/plugins/post-smtp/)
   plugin, but no other site e-mails (contact forms, e-commerce and core messages)
   suffer this issue. Only the Site Kit reports…

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

 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18896178)
 * Hello [@ravanh](https://wordpress.org/support/users/ravanh/), thanks for reaching
   out and for sharing the information. It looks like you are receiving these emails
   but the HTML content is not being displayed when viewing in Gmail. To look into
   this to see if there’s any issue on the Site Kit side, please could you share
   the following:
    1. Your [Site Health information](https://i.imgur.com/Rtkmsba.png). You can [use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
       to share privately if preferred.
    2. Do you see the same if you check from another device such as a phone?
    3. Could you copy the original email information and share to the private form 
       above. To do this please follow the 4 steps highlighted [here](https://support.google.com/mail/answer/29436?hl=en-GB#:~:text=On%20your%20computer,to%20clipboard.).
 * I’d like to also point you to a [similar issue another user faced with the same plugin](https://wordpress.org/support/topic/html-code-showing-in-ninja-forms-notifications/).
   You may find some useful information here which may lead to you finding the cause.
 * In the meantime I will await your response with the requested information. If
   you have any questions at this time then please let me know.
 *  Thread Starter [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18896312)
 * I did a test with the Post SMTP plugin dectivated and then unsubscribed and resubscribed
   to invoke another confirmation email. This time the HTML part of the mail appears
   normal.
 * When looking at the email headers, there is `Content-Type: multipart/alternative;`
   as expected. But when the Post SMTP is active (and even when not configured to
   use an external SMTP service) there is only `Content-Type: text/plain;` in the
   confirmation email headers.
 * So it appears to be a conflict with Post SMTP :/
 *  Thread Starter [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18896328)
 * In fact, in the Post SMTP Email Logs transcripts of the Site Kit emails, there
   is no `Content-Type` header set at all. Probably the reason why the mailer defaults
   to `text/plain`…
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18896389)
 * [@ravanh](https://wordpress.org/support/users/ravanh/) Thanks for the additional
   information. Could I please ask you to share the requested information above 
   as that would be useful to us.
 * Could you also please confirm which mailer you are using with the Post SMTP plugin?
   We can then try to replicate this issue and see if there is something on our 
   side we can address for this.
 *  Thread Starter [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18896406)
 * Site health report sent via the form.
 * Currently on Other SMTP / PostSMTP with external mail server. But I also tested
   type Default and mailer PHPMailer with the same results. Only completely deactivating
   the Post SMTP plugin got a normal (readable, html) Site Kit report email.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18896514)
 * [@ravanh](https://wordpress.org/support/users/ravanh/) Thanks for sharing the
   information that’s been very helpful indeed. After investigating, this happens
   because the SMTP plugin completely re-implements `wp_mail`  which replaces the
   Site Kit content type header override that is required to have the mulitpart 
   HTML and plain text email.
 * Most STMP plugins aren’t doing this but to address these such cases we have opened
   a new [GitHub issue](https://github.com/google/site-kit-wp/issues/12632) to address
   this in future. You can follow this for updates and I will update this support
   topic when this has been implemented.
 * Thanks for your patience with this and for supplying the useful information that
   you have.
 *  Thread Starter [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18896621)
 * Thanks for working on this. In the meantime, i’ll consider switching to another
   smtp plugin 🙂
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 month ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18899360)
 * Rather than switching to another plugin, you may wish to try the POST SMTP HTML
   addon, as described in [another support topic](https://wordpress.org/support/topic/monthly-reports-show-html-source-code-2/)
   whereby another user reported the same. Regardless, you can follow any updates
   we may possibly be making to mitigate such issues, with details on why this occurs
   added yesterday to [the related GitHub issue](https://github.com/google/site-kit-wp/issues/12632).
 * Should the issue remain when using the POST SMTP add on, you may also wish to
   reach out to their support team.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [5 days, 16 hours ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18926096)
 * Hi [@ravanh](https://wordpress.org/support/users/ravanh/), Site Kit 1.180.0 is
   now available which includes the improvements we made for this. Please can you
   update to the latest version of the plugin and let us know if you encounter any
   further issues.
 *  Thread Starter [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [5 days, 13 hours ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18926340)
 * Thank you Adam, it’s all looking good 🙂
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [5 days, 13 hours ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18926375)
 * [@ravanh](https://wordpress.org/support/users/ravanh/) That’s great to hear! 
   Thanks for confirming.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmonthly-reports-show-html-source-code%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 11 replies
 * 5 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [5 days, 13 hours ago](https://wordpress.org/support/topic/monthly-reports-show-html-source-code/#post-18926375)
 * Status: resolved