Support

Home Forums Event Espresso Premium Event Espresso Email not sending

Event Espresso Email not sending

Posted: March 28, 2018 at 2:11 pm


collegianit

March 28, 2018 at 2:11 pm

Hi there,

So recently our site crashed and after resetting up event espresso and postSMTP, the emails refuse to send through event espresso, however test emails through post smtp go through. Any help?


Josh

  • Support Staff

March 28, 2018 at 2:24 pm

Hi there,

If you go to test an email from one of the email Message template editors, do you receive the test? If so, it may help to go to Event Espresso > Messages > Message Settings and set the the option for emails to be sent on the same request.

If the Test Send feature of the Message template editor results in an email getting sent, please also check the the To: fields are valid, and that the email status is active.

You can also install this plugin to verify whether the mail actually gets sent or not:
https://wordpress.org/plugins/wp-mail-logging/

The logging plugin will help to discern whether the emails are actually not getting sent, or if they’re actually getting sent, but not received. If you find that they’re getting sent, can you check to see whether the emails are getting trapped in the spam folder?


collegianit

March 29, 2018 at 10:02 am

Josh,

Thank you for your help. When I do the test email, our website gives a http error 500, then it doesn’t send the email. We are using ubuntu 16.04 with mysql, php, and nginx to run the wordpress site. Any thoughts?


Tony

  • Support Staff

March 29, 2018 at 10:16 am

Error 500 is just ‘something went wrong’ but doesn’t give you the full error.

If you take a look at the server’s error.log file does it show the error there?

If not enable WP_Debug using this snippet:

https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

Then trigger the error again and it should log to /wp-content/debug.log


collegianit

March 29, 2018 at 1:28 pm

Okay, heres what it said:

[29-Mar-2018 19:28:49 UTC] PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/cssinliner/vendor/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php:146
Stack trace:
#0 /var/www/html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/EE_Email_messenger.class.php(625): TijsVerkoyen\CssToInlineStyles\CssToInlineStyles->convert(true)
#1 /var/www/html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/EE_Email_messenger.class.php(440): EE_Email_messenger->_body()
#2 /var/www/html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_messenger.lib.php(667): EE_Email_messenger->_send_message()
#3 /var/www/html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Queue.lib.php(639): EE_messenger->get_preview(Object(EE_Message), Object(EE_Payment_Refund_message_type), true)
#4 /var/www/html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_ in /var/www/html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/cssinliner/vendor/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php on line 146


Josh

  • Support Staff

March 29, 2018 at 1:55 pm

You need to install the DOM extension. You can do so on Ubuntu using:

if PHP 7:
sudo apt-get install php-xml

if PHP 5.6:
sudo apt-get install php5.6-xml


collegianit

March 29, 2018 at 2:07 pm

Josh,

That fixed it! Thank you so much for helping us out, I truly appreciate it. You’re the best!

The support post ‘Event Espresso Email not sending’ 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