Support

Home Forums Event Espresso Premium Wp_Mail Function Error

Wp_Mail Function Error

Posted: April 30, 2020 at 6:23 pm

Viewing 4 reply threads


djgore

April 30, 2020 at 6:23 pm

We just received the following error from someone attempting to submit their registration form for an event.


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

EE_Email_messenger – _send_message – 454

I did a test to make sure WordPress and/or server could send emails, and it did pass.

What could be the problem? Thanks.


Tony

  • Support Staff

May 1, 2020 at 6:41 am

Hi there,

Which specific message type is this for?

Can you see the failed message in Event Espresso -> Messages -> Message activity?

The TO and FROM address look like they are the admin address, have you altered those when posting?


djgore

May 1, 2020 at 9:53 am

Looking into the Message Activity, this is around the time the error was sent to me. Here is the full error:

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

EE_Email_messenger – _send_message – 454


djgore

May 1, 2020 at 9:54 am

I also forget to mention the Message Type is Registration Approved.


Tony

  • Support Staff

May 1, 2020 at 1:43 pm

Ok, so the Registration Approved message type has multiple ‘contexts’ and I’m guessing from your error message it is it the ‘Event Admin’ context that your getting the above error on.

So in your message template, you’ll have a message sent to the registrant and one to the event admin, like this – https://monosnap.com/file/HGJa2VN98pU383ZXOKkbVG02JSEl0s

Which of those (or both) do you get that error on?

Viewing 4 reply threads

The support post ‘Wp_Mail Function Error’ 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