Posted: March 15, 2019 at 9:46 am
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. Message not Delivered There was a problem delivering your message to then states it was rejected due to spam classification. I have an open issue I would like to resole and connot if I cannot contact you. |
|
Hi, We are able to help you here, what can we help you with today? |
|
I would like to be able to reply to the support@eventespresso.com email address and continue working out an issue with not getting admin emal notifications for event registrations |
|
The most reliable means to help you is right here because email providers have the wherewithal to flag emails as spam. This can and will happen even if the email isn’t spam. Speaking of which, with regards to the admin email notifications that you’re not getting, may I ask did you check to see if those are getting flagged as sent in Event Espresso > Messages? |
|
Yes. I have check this and I did get some when I was setting up the event and completed a test registration. But now that things are live and people are registering I am not getting them. I went into messages and there are four that failed sending, but can be retried and the “To” address shows as “no recipient”. Not sure what’s going on. |
|
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. |
|
I tried the “Generate and Send Now” and get this error: 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. And On same request was already set |
|
individual error message per email is: Message was not executed successfully. |
|
Can you try changing what’s set in the template’s To: field for the message template that failed to use a different email address? |
|
same error occurs no matter the email I have in place in settings |
|
Hi there, The above error means that wp_mail(), which is a WP core function that passes the emails to your mail server, is returning So EE is building out the email and passing it over to wp_mail() wp_mail() does some additional checks and adds its own headers if needed, then it passes the email to your server to do whatever it is set to do with it. It’s at that point that your getting an error. Notice how the error shows: It is possible the “to” address () or “from” address (+++@incommandri.+++) is invalid. Did you remove the email that was there or is that how it was? If you go to Event Espresso -> Messages -> Default message template -> Registration Approved. On the right is a Send test email feature, add an email address to that and send a test email, do you receive it then? |
|
I have used the test feature on the right and those test emails come thru fine. I removed the email so it was not public here. If this is a WP error why did this work before? and just not started to not work and how to I remedy this? |
|
I didn’t say it’s a WP error, it’s an error happening once your email is passed to your server, not WP, meaning any number of changes could have been made outside of WP.
Do you have full control of the server or is managed hosting? — Try adding this code to the site: https://github.com/eventespresso/ee-code-snippet-library/tree/master/utility/ee-log-wp-mail-errors That will write any errors from PHPMailer into |
|
hosted on bluehost |
|
Ok, what type of hosting with bluehost? Did you add the code include above to the site? |
|
Not sure what you mean by
I have added the code to the wp-config.php file but am a bit unclear on the next steps |
|
Ok. I have also completed creating the custom plugin and activated it. what now? |
|
Reg.
Bluehost offers different hosting packages, shared, VPS, Dedicated, WordPress, WP Pro hosting to name some of the options they have. If you’re unsure, then I’m assuming you don’t manage the server yourself and they do it for you?
Ru through the steps you did previously to get the error to trigger so I can check the log. |
|
I do not manage the server. believe it is shared hosting. 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: |
|
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.
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. |
|
I have done this. get the same thing in messages, “no recipient” and the same error as last time. |
|
stepping back a moment and looking at that fact that the “To” field shows “No Recipient”. Under “General Settings” the email place there notes that:
But if I go and check a few of the default message templates the “To” recipient is either blank or has “[EVENT_AUTHOR_EMAIL]” (not sure where that is defined)as the to address. wouldthis be an issue? |
|
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? See: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/ The first error regarding the to and from fields is passed the generation phase, the new error is being thrown when the message tries to generate. |
|
I did not actually change any, just noticed it is all. what is my next step? |
|
the queues for generating, sending and resending are all empty |
|
The messages system is still set to ‘On same request’, correct? Go to Event Espresso -> Registrations. Click on the icon on a registration that previously failed. That will retrigger the emails. Do you get an error message? If so, which one? |
|
so here is the error message on the individual message from the messages page: EE_Email_messenger – _send_message – 454 If I do as you instruct I get the following error: An error has occurred: EE_Email_messenger – _send_message – 454 |
|
Hmm, ok, so no error is being added to the log for the above. You’ve definitely activated the custom functions plugin that included the code I sent above? Can I take a quick look over your message templates to see if anything stands out? If so you can send temp login details using this form: https://eventespresso.com/send-login-details/ Another option is to switch to using a transactional email service (which we recommend either way), you can find more info here: https://eventespresso.com/wiki/postmark-app-mandrill-transactional-email-handling-services/ Which will confirm if this is an issue with the mailserver. But I’ll take a quick look and see if anything stands out on first if you prefer? |
|
plugin is active. I will create a temp login. hang on |
|
sent |
|
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 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 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
|
|
Ok. 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: I also tried the Generate and Send now and get this error: An error has occurred: |
|
Send now? Oh you mean the icon? You can’t do that, that message has already been generated using the incorrect shortcode. So it’s sending the old message again. You need to re-trigger the message again using the steps from above so that it generates a new message from the current template (with the correct shortcode) |
|
ok. that seems to be working. thanks for working thru this with me. |
|
The support post ‘Support Email Failure’ 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.