Support

Home Forums Event Espresso Premium Error occurs when resending emails

Error occurs when resending emails

Posted: December 28, 2015 at 10:07 am


Michael Burroughs

December 28, 2015 at 10:07 am

I am getting an error when trying to resend emails

An error has occurred:
Something went wrong and the message for this registration was NOT resent

However, the email appears to be sending correctly (see attached). I have disabled and re-enabled all messages in the Messages>Settings tab. I do use Mandrill and things look good there.

This is not a critical issue, but am concerned about ongoing errors. Please advise.

Event Espresso Error
Mandrill Validation


Tony

  • Support Staff

December 28, 2015 at 10:22 am

Hi Michael,

WP Mandrill has an issue with ‘formatted’ email addresses (Some Name ) meaning it doesn’t handle them correctly and can throw the error mentioned.

To test if this is the issue you can either edit the Message templates within Event Espresso -> Messages.

Click to edit the message contexts for the Pending Payment message – http://take.ms/L0fO2

Then change the To field to use non _FORMATTED shortcodes, like this – http://take.ms/t4XtN

You need to do that for all contexts active on the message type.

Then resend the message, does the error no longer show?

Or you can you download the plugin available here:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/third-party-integration/de_ee_fix_mandrill.php

Activate it and retest re-sending the registration details.

That plugin fixes the call when using formatted emails and should allow mandrill to work correctly.


Michael Burroughs

December 28, 2015 at 11:44 am

That worked! Thank you! Happy New Year!


Tony

  • Support Staff

December 28, 2015 at 11:57 am

You’re most welcome 🙂

Would you mind letting us know which method you used?


Michael Burroughs

December 28, 2015 at 12:12 pm

Indeed. I used the shortcode that did not have the “Formatted” tag in it. (Manually.) I looked at the plugin, but seemed that the faster approach was to just change it. No more errors.


Tony

  • Support Staff

December 28, 2015 at 12:15 pm

Great, I’m glad it worked.

Note you’ll need to do that for any message type that uses _FORMATTED shortcodes.

The support post ‘Error occurs when resending emails’ 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