Support

Home Forums Event Espresso Premium Not receiving "Event Registration Details" email until I log in to site

Not receiving "Event Registration Details" email until I log in to site

Posted: July 7, 2016 at 4:26 pm

Viewing 4 reply threads


Peter LaFond

July 7, 2016 at 4:26 pm

Hi Support,

I’m facing strange behavior from EventEspresso. All of the “Event Registration Details” emails are not emailed to me until I log into the website. As soon as I log into the website, the emails then arrive in my inbox. How do remedy the situation so I receive the emails when attendees sign up whether I’m logged in or not?

Thanks,

Peter


Tony

  • Support Staff

July 8, 2016 at 4:02 am

Hi Peter,

EE4.9+ uses wp-cron to trigger the emails to run through the messages queue, do you know if your site has wp-cron disabled unless logged in?

You can usually check this by looking within your wp-config.php file for something like:

define( 'DISABLE_WP_CRON', true );

wp-cron runs each time a page is loaded on your site to confirm if there is a ‘job’ to execute. So if you register onto an event, wait a few minutes and just navigate to a page on your site (or refresh the current page) without being logged in, do the emails trigger?


Peter LaFond

July 8, 2016 at 6:39 am

Hi Tony,
It seems the cron schedule trigger is set to send mail when there’s activity on the website. Is there a way to re-set the trigger to be based on something else?
thnaks, Peter


Josh

  • Support Staff

July 8, 2016 at 10:04 am

Hi Peter,

You can set the option in Event Espresso > Messages > Settings to Generate and send all messages: On the same request. This will make it so messages are always done on the same request.


Tony

  • Support Staff

July 8, 2016 at 10:04 am

You can’t change wp-cron to use something else but you can change how EE setups up the messages.

If you go to Event Espresso -> Messages -> Settings.

There you will find the option ‘Generate and send all messages’, set that to ‘On the same request’ and EE will no longer use wp-cron to queue, generate and send the messages. It will just generate and send the messages at all at once on the same request.

Viewing 4 reply threads

The support post ‘Not receiving "Event Registration Details" email until I log in to site’ 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