Support

Home Forums Event Espresso Premium Email Generation Settings

Email Generation Settings

Posted: February 26, 2021 at 10:59 am

Viewing 1 reply thread


BradSalon

February 26, 2021 at 10:59 am

I would like to make it so that when a registration is complete it sends me an email notification and the registrant a custom email. I have created a custom template and set it to primary registrant and set the field for the email and have the custom selected in the event as registration approved. The test emails are getting through from the template but when I buy a test class the emails are not getting sent out. I found one in queued for sending and sent it… just not sure how to go about a problem solving chain on this.


BradSalon

February 26, 2021 at 11:31 am

It is sending to bluehost@bluehost.com I dont know why though…


BradSalon

February 26, 2021 at 11:31 am

I would like to make it so that when a registration is complete it sends me an email notification and the registrant a custom email. I have created a custom template and set it to primary registrant and set the field for the email and have the custom selected in the event as registration approved. The test emails are getting through from the template but when I buy a test class the emails are not getting sent out. I found one in queued for sending and sent it… just not sure how to go about a problem solving chain on this.


Tony

  • Support Staff

March 1, 2021 at 4:55 am

Hi Brad,

Who hosts your email? For example, are you using Gmail or another provider?

I would like to make it so that when a registration is complete it sends me an email notification and the registrant a custom email.

With the exception of the custom email, that happens by default with Registration Approved. So did the default setup work before you used a custom template?

I have created a custom template and set it to primary registrant and set the field for the email and have the custom selected in the event as registration approved.

Unless I’m misunderstanding the above, you can’t set a template to be “set to primary registrant”. A message template (Like Registration Approved) has multiple ‘contexts’ in which it is used and you can edit each of those contexts. So in the case of Reg Approved the email you send to the Event Admin is likely to contain different information than the email sent to the Registrant, which can also be different from an email you want to send specifically to the Primary Registrant. EE allows you to edit each of those within the same template, see HERE.

So, you’ve created a custom Reg Approved message template, then edited which ‘context’?

The test emails are getting through from the template but when I buy a test class the emails are not getting sent out. I found one in queued for sending and sent it… just not sure how to go about a problem solving chain on this.

The message you manually sent, was it correct and was it received by whomever you expected it to be?

Test emails do not use the ‘message queue’ system, they send immediately which means you can have an issue with ‘real’ messages and not tests, so a quick explanation of the message queue.

When a message is triggered is triggers a ‘waiting to generate’ item in the queue. When the ‘Generate messages’ cron is triggered it pulls those messages in, generates the message details and sets it to ‘waiting to send’, then when the ‘Send Messages’ cron triggers it pulls those waiting to send messages and sends them.

So all of this means 2 things.

1. All of the above relies on WP_CRON, if there is an issue with WP_CRON on your site the message queue system wont work.

2. Messages can take a little to work through the queue. As the message system relies on WP_CRON it relies on visits to your site to trigger the crons, no visitors means no Crons ‘fire’.

If you go to Tools -> Site Health.

Wait around 30 seconds for the tests to complete, does it show anything about ‘scheduled tasks’ failed or missed? Or anything about loopback requests?

Viewing 1 reply thread

The support post ‘Email Generation Settings’ 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