Support

Support Email Failure

I have been communicating with your support stave via email and have encountered an issue. I am attempting to reply to Josh at the support@eventespresoo.com email address and my latest emails are getting a delivery error and being bounced back to me.

The “To” address showing as “no recipient” means the email has not been generated yet. On the Event Espresso > Messages page you can check the checkboxes next to those 4 emails in the list, then click Bulk Actions and select “Generate and Send Now”, then click Apply.

Then after you do that you can click the Settings tab where you can set “Generate and send all messages:” to “On the Same Request”, then click Update. What this will do is bypass the message queue which will help ensure sending for sites that do not allow transient data to persist for enough time to get the messages sent out.

The messages were not generated. This could mean there is already a batch being generated on a separate request, or because the selected messages are not ready for generation. Please wait a minute or two and try again.

Message was not executed successfully.
Messenger and Message Type were valid and active, but the messenger send method failed.
The email did not send successfully.
The WordPress wp_mail function is used for sending mails but does not give any useful information when an email fails to send.
It is possible the “to” address () or “from” address (+++@incommandri.+++) is invalid.

I went into messages and check all the messages that have “no recipient” and clicked “generate and send now” and get the following error:

An error has occurred:
The messages were not generated. This could mean there is already a batch being generated on a separate request, or because the selected messages are not ready for generation. Please wait a minute or two and try again.
EED_Messages – generate_now – 1106

Which means there are updates outside of WordPress, that you have no control over. Plus, anyone on that same shared server will be using the same mail host, meaning if any of them get flagged for spam, so will you.

An error has occurred:
The messages were not generated. This could mean there is already a batch being generated on a separate request, or because the selected messages are not ready for generation. Please wait a minute or two and try again.
EED_Messages – generate_now – 1106

That’s a different error and you’ll likely need to wipe the message queue and regenerate the messages to fix that. However, for now, with the above code in place, add a new registration to trigger the emails so we can see what error is being thrown.

When the To: field is blank, then no message will be generated for that context. That’s effectively deactivating that message type. When the To: field has [EVENT_AUTHOR_EMAIL], that means the email will be sent to the email address of the user account that’s the author of the event. If you prefer the email to go to [CO_EMAIL] instead, you can remove [EVENT_AUTHOR_EMAIL] and replace with [CO_EMAIL].

Before you start adding shortcodes to the to fields, some of those are empty by default and it’s not the cause of ‘No recipient’.

Messages showing ‘No recipient’ mean they are at the queues for generation phase. The jave no recipient because the message system hasn’t generated the content, meaning it doesn’t know who the recipient is yet.

Which message types are you looking at and which contexts are you editing?

so here is the error message on the individual message from the messages page:
Message was not executed successfully.
Messenger and Message Type were valid and active, but the messenger send method failed.
The email did not send successfully.
The WordPress wp_mail function is used for sending mails but does not give any useful information when an email fails to send.
It is possible the “to” address () or “from” address (info@incommandri.com) is invalid.

EE_Email_messenger – _send_message – 454

If I do as you instruct I get the following error:

An error has occurred:
The email did not send successfully.
The WordPress wp_mail function is used for sending mails but does not give any useful information when an email fails to send.
It is possible the “to” address () or “from” address (info@incommandri.com) is invalid.

My apologies, so the problem is actually due to the ‘No recipient’ as you mentioned.

I thought your messages were sitting waiting to generate, so it would be normal for that to show. When you said those sections were clear, I thought you meant you’d removed the messages from the queue, anyway… the fix.

So the message that is failing is the Event Admin context (the users email is sending) and that uses [EVENT_AUTHOR_EMAIL] to send the email.

That shortcode parses to the email address of the user account set as the author of the event. If you look at your Users list, you’ll see one of them has no email address assigned to it, and that’s the user account set as the author of the event.

The fix I recommend, is essentially what Josh suggested, edit the Event Admin context and set the ‘To’ field to use the [CO_EMAIL] shortcode.

You’ll need to do that for each message type that has the ‘Event Admin’ context enabled (Look at the message template list and you’ll see the ‘Registration Approved’ and ‘Registration Pending Payment’ message types have that context in blue, meaning its enabled.

Change both of those to use [CO_EMAIL] in the TO field and the messages should start working.

[CO_EMAIL] parses to the email address set in Event Espresso -> General Settings, so that’s where your event admin notifications are going to start sending with the above change.

So I have done as you say and changes the “To” address for both of those message templates to be [CO_EMAIL] and then tried the Send now option and get the following error:

An error has occurred:
No message was sent because of problems with sending. Either all the messages you selected were not a sendable message, they were ALREADY sent on a different scheduled task, or there was an error. If there was an error, you can look at the messages in the message activity list table for any error messages.
EED_Messages – send_now – 1180″

I also tried the Generate and Send now and get this error:

An error has occurred:
The messages were not generated. This could mean there is already a batch being generated on a separate request, or because the selected messages are not ready for generation. Please wait a minute or two and try again.
EED_Messages – generate_now – 1106