• Resolved Rolf Allard van Hagen

    (@ravanh)


    Hi, after activating monthly reports, I get unreadable e-mails that look like:

    The site in question uses the 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

    (@adamdunnage)

    Hello @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. You can use this form 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.

    I’d like to also point you to a similar issue another user faced with the same plugin. 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

    (@ravanh)

    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

    (@ravanh)

    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

    (@adamdunnage)

    @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

    (@ravanh)

    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

    (@adamdunnage)

    @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 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

    (@ravanh)

    Thanks for working on this. In the meantime, i’ll consider switching to another smtp plugin 🙂

    Plugin Support James Osborne

    (@jamesosborne)

    Rather than switching to another plugin, you may wish to try the POST SMTP HTML addon, as described in another support topic 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.

    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

    (@adamdunnage)

    Hi @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

    (@ravanh)

    Thank you Adam, it’s all looking good 🙂

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @ravanh That’s great to hear! Thanks for confirming.

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

You must be logged in to reply to this topic.