Support

Home Forums Community Forum Confirmation Emails Appearing as Plain-text with HTML Tags Encoded

Confirmation Emails Appearing as Plain-text with HTML Tags Encoded

Posted: June 10, 2016 at 2:35 pm


cata-log

June 10, 2016 at 2:35 pm

All emails sent through Event Espresso 4 appear as plain text in the recipient’s inbox, with all HTML tags encoded and visible. The wp_mail filter mentioned in this ticket (https://eventespresso.com/topic/email-headers-adding-plain-text-version-that-is-entirely-html/) is already in place on the site; we also followed the advice on this ticket (https://eventespresso.com/topic/notification-emails-come-through-as-html-tags-not-html-4-6-14/) and installed a transactional email service (Mailgun), which is fully configured and working, however the emails are still displaying the encoded HTML tags as before. Emails were displaying properly coded HTML previously (with EE3), but now even the default emails are broken in EE4.


Lorenzo Orlando Caum

  • Support Staff

June 10, 2016 at 2:45 pm

Hello,

That support post is from 2013 so it would not apply to Event Espresso 4.

Could you please remove it from your site and then re-test any of the email notifications?


Lorenzo


cata-log

June 10, 2016 at 2:50 pm

We had originally sent the emails out without making any code or plugin modifications, and experienced the same issue. We only implemented the support forum recommendations after receiving emails with encoded HTML tags. We will certainly want to remove the suggestions from the 2013 post if it’s no longer applicable, but I am not hopeful that it will resolve the issue.


cata-log

June 10, 2016 at 3:08 pm

We’ve removed the fix proposed in the 2013 support post, and we are still receiving plain text emails with HTML tags encoded.


Lorenzo Orlando Caum

  • Support Staff

June 10, 2016 at 3:20 pm

Hi,

Is there any other code via your theme or another plugin that has a feature for changing how wp_mail runs?

The emails for Event Espresso 4 are html so it should not be going out as plain text.

Here is what I would try next:

1) Check to see if the theme has any custom coding that could change how wp_mail works.

2) Temporarily deactivate all plugins and reactivate only Event Espresso

3) Go to Event Espresso –> Messages and click on a recipient such as the registrant for any message type like the registration approved one. Then look near the top right area and then enter an email and then send it.

Does that test email also appear broken?

If it does not, then reactivate a few plugins at a time in another browser tab and then refresh the original browser tab with the messages editor and send another test email.

Continue this process until you pinpoint where this is occurring.


Lorenzo


cata-log

June 10, 2016 at 3:53 pm

Hi Lorenzo,
Thanks for the help. We were able to narrow the issue down to a specific plugin, and the emails appear to be functioning normally now. In case it’s helpful, the conflicting plugin was called ‘User Meta Pro’. We should be all set!


jamesashford

June 19, 2016 at 4:37 am

Yeah, I’m having the same problem except that I don’ty actually have a theme installed yet or any other plugins other than the event espresso one.

Any ideas?

This is how the recipient emails look – http://www.trainwithpremier.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-19-at-11.36.12.png

This is how the admin one looks – http://www.trainwithpremier.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-19-at-11.36.03.png

Cheers,

James

The support post ‘Confirmation Emails Appearing as Plain-text with HTML Tags Encoded’ 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