Support

Home Forums Event Espresso Premium Notification Emails come through as HTML tags, not HTML (4.6.14)

Notification Emails come through as HTML tags, not HTML (4.6.14)

Posted: March 18, 2015 at 4:14 am


PushON

March 18, 2015 at 4:14 am

Hi,

The notification emails are coming through as text emails but using HTML tags, e.g.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html style="margin: 0; padding: 0; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;"><head style="margin: 0; padding: 0; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;"><!-- If you delete this meta tag, Half Life 3 will never be released. --><meta name="viewport" content="width=device-width" style="margin: 0; padding: 0; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" style="margin: 0; padding: 0; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;"><!-- Facebook sharing information tags --><meta property="og:title" content="Event Registration Details" style="margin: 0; padding: 0; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;"><title style="margin: 0; padding: 0; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;">Event Registration Details</title><style type="text/css" style="margin: 0; padding: 0; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;">
	/* -------------------------------------
	Attention! This CSS file is used for generating the final messages that are sent to the attendees and admins.
------------------------------------- */


Tony

  • Support Staff

March 18, 2015 at 5:51 am

Hi,

Usually that happens when the emails are being marked as spam by one of the mailservers or it can also be to a poorly configured mailserver.

It is also possible that another plugin is filtering wp_mail and causing the emails to be sent as plain text.

For mail issues such as these we recommend using a transactional email service such as Mandill or PostMark to send mail.

We have more information on these services here:

https://eventespresso.com/wiki/postmark-app-mandrill-transactional-email-handling-services/

I recommend Mandrill, its free up to 12k emails per month, can integrate with MailChimp (same company) and provides much better reporting on your outgoing emails. There is a step by step guide to setting it up in the link above.


PushON

March 18, 2015 at 12:40 pm

Hmmm reading the headers

Content-Type: text/plain; charset=”utf-8″
Content-Transfer-Encoding: quoted-printable

I’m guessing that’s wrong.


Lorenzo Orlando Caum

  • Support Staff

March 18, 2015 at 1:12 pm

Hi, a member ran into this issue using their local mail server and replied that Mandrill (transaction email service) fixed the issue.

Could you give that a try?


Lorenzo


Tony

  • Support Staff

March 18, 2015 at 1:23 pm

Also if you are checking the email that you have received with the HTML on display, the headers will have been changed to plain text if the email is suspected as spam.

If Mandrill does not fix this issue it is likely something else is filtering wp_mail() and interfering with EE emails.


Lorenzo Orlando Caum

  • Support Staff

May 15, 2015 at 9:35 am

Hello again, I wanted to share an update on the report of this issue with CSS appearing in the notification emails.

We have seen this issue from time to time in our support forums and with each report, we try to duplicate the issue on our testing sites. Until recently, we have not been able to duplicate the issue.

I was able to trigger the issue under a specific set of conditions and with the recent maintenance release for Event Espresso 4, we’ve added a fix that should correct the CSS appearing at the top of the email notifications.

https://eventespresso.com/wiki/ee4-changelog/#4.6.27

Note that we still recommend continuing to use a transactional email service such as Postmark app and Mandrill since they help ensure that emails arrive to the inbox instead of the spam or junk email folder.

Thanks!


Lorenzo

The support post ‘Notification Emails come through as HTML tags, not HTML (4.6.14)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso