Support

Home Forums Event Espresso Premium Confirmation Emails Not Sending (5)

Confirmation Emails Not Sending (5)

Posted: December 21, 2016 at 3:24 pm

Viewing 23 reply threads


NiamLeeson

December 21, 2016 at 3:24 pm

Hi,

I am using Event Espresso in conjunction with the Calendar add-on and neither me nor my clients receive any confirmation email after registering for an event. Please help!


Josh

  • Support Staff

December 21, 2016 at 3:34 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 not, can you verify whether *other* emails (like a WordPress password reset email) get sent from your site?

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

It’s important 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?

In most cases, setting up a third party service to deliver email will resolve email delivery issues. The built-in mail servers (especially those that are used for shared hosting accounts) can be unreliable. We recommend using a service like Mandrill, Postmark, or any of the other services listed in our documentation for sending transactional email. More info here:

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

Alternatively, you could also use a gmail account and configure a plugin like the WP Mail SMTP plugin to send the emails.


NiamLeeson

December 21, 2016 at 3:45 pm

I have the WP Mail SMTP plugin already working for another type of form submission, do I need to do something special to get it to work with Event Espresso?


NiamLeeson

December 21, 2016 at 3:49 pm

And to answer your question, no, I do not receive the test.


Josh

  • Support Staff

December 21, 2016 at 3:54 pm

There shouldn’t be anything different to set up with the WP SMTP mail plugin to work with Event Espresso, but you really should verify whether email is sending or not. When you don’t receive an email, it does not necessarily mean it wasn’t sent. The email logging plugin will help you verify if the message was sent, and possibly point out an error in the email that prevents sending.

https://wordpress.org/plugins/wp-mail-logging/


NiamLeeson

December 21, 2016 at 3:56 pm

I enabled the logging plugin and it shows as trying to send the test email. I still haven’t gotten it, however.


NiamLeeson

December 21, 2016 at 4:24 pm

Arg, now I’m getting the following message when I try to even register for an event:

“This registration step could not be completed. Please refresh the page and try again.”

I have uninstalled and reinstalled the plugin. Please help!


NiamLeeson

December 21, 2016 at 4:35 pm

Update: I was getting the “This registration step could not be completed” error because I changed the “Generate and send all messages” option to “On the same request”. After changing it back to “On a separate request” I can get past the registration step but I still do not receive any emails. I can also confirm that there are logs in the mail log, but they are not sending them and I do not see any error messages in that.


Josh

  • Support Staff

December 21, 2016 at 5:00 pm

Can you explain what you mean by “there are logs in the mail log, but they are not sending them”?

Also, very important, are there shortcodes entered for the To: and From fields in the message templates that will parse out to valid email addresses? For example, the To: field for an email that goes to the registrant should have the [RECIPIENT_EMAIL] short code in it.


NiamLeeson

December 21, 2016 at 5:08 pm

What I mean is that the logs show them as sent, but I am not getting them in my email inbox, or spam folders.

For the message that I tested, “Registration Approved”, I have “[RECIPIENT_EMAIL]” in the “To” section of both the “Registrant” and “Primary Registrant” recipients. For the “Event Admin” one, it is “[EVENT_AUTHOR_EMAIL]”. Either way, when I click “Test Send” I receive nothing, but it says it sent it and there are no errors.


Josh

  • Support Staff

December 21, 2016 at 5:14 pm

May I ask, what does the email log plugin log for that test send? Can you also check your PHP error log? I suspect at some point your server may be running low on memory so when the email message processes, the server may be timing out or even throwing a fatal error, which will show up in the PHP error log.


NiamLeeson

December 21, 2016 at 5:20 pm

It shows a timestamp with the following headers: “MIME-Version: 1.0,\nFrom:rancho@rancholoscerritos.org,\nReply-To:rancho@rancholoscerritos.org,\nContent-Type:text/html; charset=utf-8”

Also, I have the highest tier of server resources, and the memory is fine. I looked at the PHP error log and there are no errors related to this issue.


NiamLeeson

December 21, 2016 at 5:23 pm

Actually, there are a good amount of the following errors:

[21-Nov-2016 16:51:17 UTC] PHP Fatal error: Class ‘Symfony\Component\CssSelector\Parser\Tokenizer\TokenizerPatterns’ not found in /home/(FILEPATH REMOVED BY ME)/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/cssinliner/vendor/symfony/css-selector/Symfony/Component/CssSelector/Parser/Tokenizer/Tokenizer.php on line 39

Could this be related? It does have to do with the Event Espresso plugin.


Josh

  • Support Staff

December 21, 2016 at 5:24 pm

Can you try sending a test message email to

espresso@sharklasers.com

and we can check to see if it lands there.


NiamLeeson

December 21, 2016 at 5:28 pm

I just sent a test email to the email address listed. Let me know what happens…


Josh

  • Support Staff

December 21, 2016 at 5:37 pm

I get nothing. Is that fatal error from the logs really from November 21 or is your server time off by 1 month?


NiamLeeson

December 21, 2016 at 5:43 pm

I just figured something out. I am using a plugin called Postman SMTP to send mail through gmail, but I just went onto the site and I see all the emails that didn’t send. They didn’t send because of the error, “You have reached a limit for sending mail. Your message was not sent.” How can I solve this?


Josh

  • Support Staff

December 21, 2016 at 5:44 pm

In any case, if that fatal error is continuing to happen on your server, then the later part of this other topic may have the solution you’re looking for:

https://eventespresso.com/topic/this-registration-step-cannot-be-completed/#post-182595


Josh

  • Support Staff

December 21, 2016 at 5:47 pm

> They didn’t send because of the error, “You have reached a limit for sending mail. Your message was not sent.”

You can use a transactional email service where the limits aren’t going to be an issue. More info here:

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


NiamLeeson

December 21, 2016 at 7:40 pm

Ok, I have successfully signed up for a transactional email service, MailGun, but for some reason, the emails from Event Espresso still do not send to my admin address. I can successfully send you a test message now, however. I just sent one to the email address you gave me.

It also takes a very long time to receive the confirmation email to my personal email, after filling out a registration form.


NiamLeeson

December 21, 2016 at 7:45 pm

To be more specific, if you go to an event registration form like the one here, for instance:

http://www.rancholoscerritos.org/upcoming-events/volunteer-open-house/

Fill out the form, and put your email address in. You should eventually receive an email confirmation (although it takes a very long time), and I should also receive a confirmation to my admin address as well. I don’t get the confirmation to the admin address at all.

Does this have something to do with the “To” and “From” fields in the “Messages” area? How can I just get the admin address to be my default admin email which is set in WordPress?


Tony

  • Support Staff

December 22, 2016 at 6:33 am

Does this have something to do with the “To” and “From” fields in the “Messages” area? How can I just get the admin address to be my default admin email which is set in WordPress?

By default Event Espresso uses the event author email address.

That would be the email address of the user account set as the author for the event just registered onto.

You can change this to be the ‘Primary Contact Email’ set within Event Espresso -> General Settings

Go to Event Espresso -> Messages -> Default message templates.

Any message type that has the ‘Event Admin’ context active will need the ‘To’ field changing to use the [CO_EMAIL] shortcode, for example here is the Reg Approved message type – http://take.ms/3QP9f

For more info on working with message contexts see here:

https://eventespresso.com/wiki/messages-system-working-with-message-contexts/


Tony

  • Support Staff

December 22, 2016 at 6:38 am

Also the delay mentioned here:

Fill out the form, and put your email address in. You should eventually receive an email confirmation (although it takes a very long time),

Could be because the message system is using wp_cron when the above setting is NOT set the emails on the same request, like this set up – http://take.ms/Kt092

So you message will trigger for generating, then a few mins later will generate and be queued for sending, then again a few mins later send. However each of those steps also require ‘something’ to load a page, a visitor viewing any of your pages or you simply refreshing to page will trigger the cron check.

You could try changing the setting back to ‘on same request’ and see if the emails now send, if they do it should be instant.


NiamLeeson

December 22, 2016 at 11:58 am

I got everything working now, thanks!

Viewing 23 reply threads

The support post ‘Confirmation Emails Not Sending (5)’ 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