Support

Home Forums Event Espresso Premium Some receipts are being sent months later

Some receipts are being sent months later

Posted: February 6, 2020 at 3:00 pm

Viewing 3 reply threads


ICLE

February 6, 2020 at 3:00 pm

I can find the receipt and the original message date (Nov18 as an example) but it appears to have been sent today in sendgrid records. I do not know if it went out in sendgrid in November as they only go back 30 days.

How do I go about figuring out what is going on?

One twist, although I cannot think how it has a cause or effect, is the fact that the internet DHCP for my office had to be rebuilt due to a power outage. Would fixed IP changes have some effect? Messages stuck in queue get revived and go out on sendgrid without a new message record perhaps?


Tony

  • Support Staff

February 7, 2020 at 4:47 am

I can find the receipt and the original message date (Nov18 as an example) but it appears to have been sent today in sendgrid records.

When you say original message date, are you looking in Event Espresso -> Messages -> Message activity?

If you find the registration this email was for in Event Espresso -> Registrations.

Click on the icon in the actions column. EE will list all of the messages that have been trigger from within Event Espresso itself.

Can you see this new ‘duplicate’ message listed there?

Would fixed IP changes have some effect?

I can’t see how this would cause any issues, is the server hosted within your office? In either case, it shouldn’t make any difference.

Messages stuck in queue get revived and go out on sendgrid without a new message record perhaps?

Messages can get stuck in the queue if your server isn’t triggering the message sending cron (but for some reason triggers the generation cron) and then updating to the latest version forces EE to rebuild the crons so then if the sending cron then works, you can trigger the messages wiaiting in the queue.

However, the important part here is the message queue can not generate and send a message without it working through the queue, meaning there will always be a record of the email in Event Espresso -> Messages -> Message activity if is was indeed triggered from within EE.

You’ve mentioned that ‘receipts’ are resending, however, EE doesn’t send the receipets via email. So may I ask which email are we referring to here?


ICLE

February 7, 2020 at 7:03 am

Registration receipts.

Cron will send when cron is working. Okay, got it.
Cron resets upon EE update. Okay, got that.

Is it possible for the server cron to “reset” , therefore sending emails stuck in send queue without an EE update? These would have the generation dates on them, not the send dates, correct?

If the cron on my server is not working properly, then this sort of thing will happen, correct?


Tony

  • Support Staff

February 10, 2020 at 2:13 am

Registration receipts.

That’s not a message type I’m aware of.

The Registration Approved message type?

Cron will send when cron is working. Okay, got it.

Not quite as simple as that, cron can be ‘working’ but you can still have issues with messages. If they site at ‘queued for sending’ then there is an issue with the scheduled cron jobs…. wp cron itself can still be functioning but not calling the ‘sending’ functions.

You’ll know if this happens if all of your messages sit ate ‘queued for sending’.

Is it possible for the server cron to “reset” , therefore sending emails stuck in send queue without an EE update?

If it’s in the above situation, yes, it’s possible for the cron jobs to restart and those messages sitting in queued for sending will then be triggered to send.

These would have the generation dates on them, not the send dates, correct?

Send dates or sent dates?

There is no ‘send’ date with EE, it doesn’t schedule emails to send on a specific date (The AUEN add-on being a bit of an exception to this, but still there is no ‘send’ date in the message queue).

In the message queue there is a ‘Modified’ column, that stores the timestamp for whenever EE last did ‘something’ on that message.

Did you do the above on a registration this happened to and check the send messages from EE?

Does it show this new ‘receipt’ message there?

If the cron on my server is not working properly, then this sort of thing will happen, correct?

If you are running into issues with wp-cron on your server, then yes, you will have issues with EE messages as it relies on wp-cron to function.

Viewing 3 reply threads

The support post ‘Some receipts are being sent months later’ 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