Posted: December 2, 2018 at 6:18 pm
Does the purchaser get an email with the ticket? Or do I have to go into event espresso and send them the ticket once the purchase has been approved?
From Event Espresso Registrations tab – I tried to resend the ticket notice but am not getting the email. Is there something that I need to do in addition to pressing the resend button?
By default, it should happen automatically.
The resend button is to trigger the message again, you don’t need to do anything additional to re-trigger the email.
It sounds like there is an issue with the mailserver, so first lets check what is happening with the emails within EE.
Go to Event Espresso -> Messages -> Message activity.
Can you see the ‘missing’ emails there?
If so what colour ‘status bar’ (the bar to the left of each email) do they have?
The status bar is green next to all of them.
Also I just found that emails are being sent with tickets but 2 days later
Ok, so that means that EE is correctly triggering the emails and sending them over to your server.
A quick explanation, EE builds out the emails using its templates and passes the content of the email over to a WordPress function called wp_mail() which basically just checks the formatting/headers and then sends it over to your server to do whatever it is set up to do with emails.
Note that if the status bar shows green it means the emails was passed over to wp_mail() which then didn’t return any errors, so as far as EE is concerned the email has been sent. EE doesn’t have any control of what happens with the emails once it is passed over to wp_mail() and it passes it to your server, its all down to however your server is set up to send the emails.
So with that…
This can be one of 2 things, either, your site doesn’t get many ‘hits’ and the messages are taking a long time to work through the message system (the system uses wp cron which needs a visitor to hit the site to tirgger the check) or, the email is being passed over to your hosts mailsever which is under heavy load/has a long email queue and its taking its time to process those.
To rule out the first, go to:
Event Espresso -> Messages -> Settings.
Set the ‘Generate and send all messages’ option to ‘On same request’ and save.
Now retest the email, does it send much quicker?