Support

Home Forums Event Espresso Premium Messages are not sending

Messages are not sending

Posted: March 28, 2017 at 10:29 am

Viewing 11 reply threads


barlee

March 28, 2017 at 10:29 am

Hi,

This recipient does exist however the messages are not sending on my tests.

http://screencast-o-matic.com/screenshots/u/htp3/1490718443033-90269.png

Could this be due to the email being the same as admin email?


barlee

March 28, 2017 at 10:47 am

I found the solution by changing a setting to “On the same request”

Emails are hitting the inbox, however they do not look great, is it possible that the tickets are sent as attachments as a PDF


Tony

  • Support Staff

March 28, 2017 at 1:11 pm

I found the solution by changing a setting to “On the same request”

By default when the message work through the messages queue they use wp-cron to work through each stage, if they didn’t move on from ‘Queued For Generating’ after a few minutes and refreshing the page this often means wp-cron is disabled on your site.

Setting EE to generate and send on the same request no longer uses wp-cron.

Emails are hitting the inbox, however they do not look great, is it possible that the tickets are sent as attachments as a PDF

Currently the tickets can not be attached to the messages as PDF’s.

However you can edit the look of the message templates if you prefer, you can do this within:

Event Espresso -> Messages -> Default Message Templates.

You’ll likely need to edit the ‘Registration Approved’ message as that’s the message sent when a user registers and pays (or completes the registration if the event is free) which also triggers the ‘Ticket Notice’ email with the link to the tickets.


barlee

March 28, 2017 at 11:08 pm

Hi,

Thanks, this wp-cron is that a WordPress setting or is it a Cron Job setup in cPanel.


Tony

  • Support Staff

March 29, 2017 at 4:15 am

It’s part of WordPress but some hosts disable it, which host are you using?

You can setup a cron job in cPanel to run wp-cron rather than the using the way WP does it. WP can’t rely on a cron being setup on your server so they check wp-cron on each page load to see if there is a task to be perfomed, hosts disable this as the site then uses little less resources but you can setup your own cron to do the job for you, for example:

http://support.hostgator.com/articles/how-to-replace-wordpress-cron-with-a-real-cron-job


barlee

March 29, 2017 at 6:32 am

I have my own server, so will setup a CRON job to run every 10 minutes or 15 and see how it works.

Do you think setting up a Cron job is preferred to not having it setup?


Tony

  • Support Staff

March 29, 2017 at 6:41 am

The messages queue system relies on cron as does the garbage collection system we have within EE so yes its preferred.

One of the reasons the messages system was introduced was to prevent a bottle neck caused by the messages being sent when registrations were made, they now queue, generate and send on separate requests to prevent that but that relies on cron.


barlee

March 29, 2017 at 6:45 am

I have disabled wp-cron as per Gator instructions and setup a CRON via cPanel, let’s see if the messages send. 🙂


barlee

March 29, 2017 at 6:45 am

Worked perfectly..thanks and very easy to do..


Tony

  • Support Staff

March 29, 2017 at 6:58 am

Have you switched messages back to ‘On different request’?


barlee

March 29, 2017 at 6:59 am

Yes.. 🙂


Tony

  • Support Staff

March 29, 2017 at 7:15 am

Great, just checking 🙂

Viewing 11 reply threads

The support post ‘Messages are 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