Support

Home Forums Event Espresso Premium Email for "Registration Approved" shows entire css in begining for mail

Email for "Registration Approved" shows entire css in begining for mail

Posted: May 30, 2014 at 4:16 am


Frank Daugaard

May 30, 2014 at 4:16 am

In EE4 the mails that gets sent to participants have the entire css in top of the email. The canceled event message dosen’t have it, so it can’t be a general problem.

I have set EE to use the build in wp_mail as is default.

Any ideas how to get hide the css in the messages?


Lorenzo Orlando Caum

  • Support Staff

May 30, 2014 at 7:15 am

Hello Frank,

Please try a reinstall of your software. Begin by backing up your WordPress:

https://codex.wordpress.org/WordPress_Backups

Next, download the latest version of your Event Espresso software from your account:

https://eventespresso.com/users/frankdaugaard/

Now login to your WordPress admin and go to Plugins. Locate Event Espresso in the list of plugins and deactivate it.

Next login to your WordPress root with an SFTP or FTP client (FileZilla and Cyberduck are free options). Then browse to the WordPress plugins folder: wp-content/plugins

Locate the Event Espresso folder and relocate it one level above the WordPress plugins folder and add old to the end of the folder name: wp-content/event-espresso-old

Return to the Plugins screen in the WordPress admin and click on Add New –> Upload. Then browse to the zip file that you downloaded from your account. Select it and begin the upload process. You can activate Event Espresso after it has finished.


Lorenzo


Frank Daugaard

May 30, 2014 at 7:45 am

Hi Lorenzo and thanks for the answer and sorry, but a reinstall to a fresh version of the full package is not gonna happen. I have done a lot of customizations in the views of the plugin over the past 2 weeks. What I really need is a change log or detailed repository submit from a fix to the issue or some guidelines on where to look in the source code. I am convinced that the issue has been there all the time, and that I haven’t touched any of the code concerning the messaging system.

Unfortunatly I can’t share the link to the site here, but if you want a look at it I can email a link if you contact me via email.


Lorenzo Orlando Caum

  • Support Staff

May 30, 2014 at 8:12 am

Hi! I suggested a reinstall as it fixed the issue for this member:

https://eventespresso.com/topic/email-registration-pending-payment-ee4/

Do you have steps on how to reproduce the issue or do you remember any recent changes right around when this started?

Thanks


Lorenzo


Frank Daugaard

June 4, 2014 at 6:39 am

Steps to reproduce: signup for an event and look at the mail recieved by primary attendee. And then change status for the attendee in admin.

The Event Cancelled email is fine. The Approved email had all the inline css as clear text in start of email.

For now I have fixed the issue by adding <style rel=”stylesheet> in top of the inline css file and </style> by the end of it.

I have retrieved a fresh copy of the EE4 plugin and replaced the core/messenger folder, but found no changes to what I already had. Though now I have added the hack to the css file.


Lorenzo Orlando Caum

  • Support Staff

June 4, 2014 at 9:00 am

Thanks for that additional information. I haven’t seen the issue yet but I’m still working on it.

Any edits to that messenger for primary registrant or is it just the default option?


Lorenzo

The support post ‘Email for "Registration Approved" shows entire css in begining for mail’ 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