Posted: 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? |
|
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 |
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.
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. |
|
|
Hi, Thanks, this wp-cron is that a WordPress setting or is it a Cron Job setup in cPanel. |
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 |
|
|
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? |
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. |
|
|
I have disabled wp-cron as per Gator instructions and setup a CRON via cPanel, let’s see if the messages send. 🙂 |
|
Worked perfectly..thanks and very easy to do.. |
Have you switched messages back to ‘On different request’? |
|
|
Yes.. 🙂 |
Great, just checking 🙂 |
|
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.