Support

Home Forums Event Espresso Premium Failed Sending, Can Be Retried

Failed Sending, Can Be Retried

Posted: March 6, 2017 at 3:01 pm

Viewing 17 reply threads


cancercarecup

March 6, 2017 at 3:01 pm

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 (xxxxxx@gmail.com) or “from” address (xxxxxx@gmail.com) is invalid.

I changed the email address but the ones in the error message are both valid. No messages are sending any suggestions would be greatly appreciated 🙂


cancercarecup

March 6, 2017 at 3:17 pm

I have doubled checked [PRIMARY_REGISTRANT_EMAIL]

From Address fields. It has [CO_EMAIL] set for the From: Its is a valid email address set in Event Espresso > General Settings > Primary contact email.

The to address contains [PRIMARY_REGISTRANT_EMAIL].

This is the cause on all message they are not sending at all 🙁 I have tried resetting the Email Templates too and no luck….

However when i send a test email it goes through without a problem (scratching head)…..

If emails don’t get sent based on actions this solution won’t work.. I am worried i will be on call 24/7 having to monitor emails to make sure they all send properly which I don’t want to sign up for hehe.

Any help appreciated thanks in advance.


Josh

  • Support Staff

March 6, 2017 at 3:58 pm

Hi there,

Event Espresso uses the wp-cron function to send messages on a later request, and Godaddy Managed hosting disables wp-cron. You can either follow this solution:

https://www.godaddy.com/community/Managing-WordPress/Wordpress-Wp-cron-editing/m-p/7983/highlight/true#M561

Or you can go to Event Espresso > Messages > Settings and set the Messages to Send on Same Request.


cancercarecup

March 6, 2017 at 4:01 pm

I already tried the sending message to send on same request and it bombs out too 🙁

Yesterday somehow 3 messages squeezed through ok but 90% of my test are failing.


cancercarecup

March 6, 2017 at 4:03 pm

How were some able to make it through but not others ? And I haven’t changed anything lol


Josh

  • Support Staff

March 6, 2017 at 4:10 pm

Are you trying to send these via Godaddy’s mailserver? If so, your solution will be to use a transaction email service:

https://eventespresso.com/wiki/postmark-app-mandrill-transactional-email-handling-services/


cancercarecup

March 6, 2017 at 4:13 pm

I haven’t touched anything… installed core wordpress… installed eventespresso…. other emails get sent fine off the website…. the only ones not sending are the one used in EventEspresso 🙁

Sorry I am not sure how they are trying to get sent I would assume so as I think WordPress trys to use your host by default.


cancercarecup

March 6, 2017 at 4:31 pm

I just tested using the lost password link on the wordpress login page 10 times and all emails came through just fine.

What would be different about the emails sent via event espresso aren’t they using the same method to send mail ?


cancercarecup

March 6, 2017 at 4:32 pm

and the test emails in event espresso get sent fine…. why I am scratching my head 🙁


cancercarecup

March 6, 2017 at 4:39 pm

Stupid question but if I have sandbox mode enabled in paypalexpress would that prevent emails from getting sent ?

I just processed a payment using the cheque method and the emails got sent lol It appears it is only when using a sandbox method I am having this issue.


Josh

  • Support Staff

March 6, 2017 at 6:57 pm

What would be different about the emails sent via event espresso aren’t they using the same method to send mail ?

The mail headers are different, the contents of the email is also different.

Stupid question but if I have sandbox mode enabled in paypalexpress would that prevent emails from getting sent ?

No.

I just processed a payment using the cheque method and the emails got sent lol It appears it is only when using a sandbox method I am having this issue.

I think you mean only when using an online payment. The cheque method isn’t really taking payments, it’s more like an agreement to pay later.

Since the site is hosted on Godaddy Managed hosting, if you have not already done so, you’l need to deactivate the built in caching. There’s information about how to deactivate the caching here:

https://eventespresso.com/topic/incompatible-with-godaddy-managed-wordpress-hosting/

You can install this plugin to verify whether the mail actually gets sent or not:
https://wordpress.org/plugins/wp-mail-logging/

It’s important to discern whether the emails are actually not getting sent, or if they’re actually getting sent, but not received. If you find that they’re getting sent, can you check to see whether the emails are getting trapped in the spam folder?


cancercarecup

March 6, 2017 at 7:12 pm

The mail headers are different, the contents of the email is also different.

I realize the headers and content are different 🙂 I might the route they are being sent is the same.

I think you mean only when using an online payment. The cheque method isn’t really taking payments, it’s more like an agreement to pay later.

No I registered using event espresso and selected cheque which is a agreement yes I agree with you there. But after filling out the registration form I got emails just fine. If I selected PayPalExpress Sandbox Mode I did NOT get any emails. I think went in the backend to MANUALLY process the payment for the cheque and select YES to send related emails to the current status and guess what I GOT ALL THE EMAILS.

In both the first comment about the header and message content being differnt and the cheque method and the paypal express method…. all mail sent out are all using the PHP mail() function.

It’s important to discern whether the emails are actually not getting sent, or if they’re actually getting sent, but not received. If you find that they’re getting sent, can you check to see whether the emails are getting trapped in the spam folder?

I get all emails on my website the only ones I am not getting are ones that are supposed to get sent out related to “ONLINE PAYMENTS” in my case I am using PayPal Express. I downloaded a plugin already to verify that mail is getting sent before I started this thread my appologizes and I just tried the plugin you suggested and mail sends fine.

I already know the mail send fine just doesn’t send any message again when I go through PayPal Express. It is NOT going to a Spam folder…. When I click the info icon to see as to what the error message is in Event Espresso here is what it says. (which I included in the first sentence in this thread)

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 (xxxxxx@gmail.com) or “from” address (xxxxxx@gmail.com) is invalid.

The EXACT same message gets sent if I checkout “register” and not go the paypal route.

Problem still exists but I know I am able to send mail from the website.


cancercarecup

March 6, 2017 at 7:38 pm

This may help to prove I am not crazy it send everything out of wordpress except using PaypalExpress Sandbox mode. We are not ready to go live so I am NOT taking it out of Sandbox mode but you stated that shouldn’t matter at all. See screenshot from the Event Espresso message center to see some that send and some that don’t (paypal express “onlinepayment”)


cancercarecup

March 6, 2017 at 7:39 pm

<script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>


cancercarecup

March 6, 2017 at 7:39 pm

image


cancercarecup

March 6, 2017 at 7:41 pm

ok well it won’t let me post the image lol but go here to see it EE4 Message Activity


Josh

  • Support Staff

March 7, 2017 at 11:07 am

I’m afraid your screenshot doesn’t help communicate much. So one thing to keep in mind is the message type that’s failing. For example, when you select the cheque payment option, that will trigger the Registration pending payment message type. When you select the PayPal Express message type, then pay, that will trigger the Registration Approved message and Payment Received Message types.

Can you compare what’s set in the To: and From: fields of the message types that are working, to the To: and From fields of the message types that are not working?


cancercarecup

March 13, 2017 at 12:31 am

Compared everything think it had something to do with GoDaddy silly cache I went on the server and deleted the caching file and flush cache using their little tool and these too seem to be sending properly now. I do have EE sent to sent automatically as you first mentioned still since things are working I am leaving it alone 🙂

Many thanks on this one too Josh sorry again to be a pain!

Viewing 17 reply threads

The support post ‘Failed Sending, Can Be Retried’ 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