Support

Home Forums Event Espresso Premium Emails not sending after latest upgrade

Emails not sending after latest upgrade

Posted: January 15, 2018 at 3:00 am

Viewing 9 reply threads


Paul MILNE

January 15, 2018 at 3:00 am

Since upgrading EE and wordpress and PHP, our generated emails are no longer sending after a registration. The error is as follows:
Versions:
WordPress: 4.9.1
WordPress MS: No
PHP: 7.0.7
WP Mail SMTP: 1.2.2

Params:
Mailer: mail
Constants: No

Server:
PHP.mail(): Yes


Tony

  • Support Staff

January 15, 2018 at 4:01 am

Hi there,

Where is that error from? It doesn’t appear to be an error from EE.

If you go to Event Espresso -> Messages -> Message activity.

Can you see the messages listed there? If so what status do they have in the list?


Paul MILNE

January 15, 2018 at 6:41 pm

we pull that information from the plugin (WP Mail SMTP) that we installed last night looking to see if that might solve the problem. The message from EE is as follows:
[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 (personsname@gmail.com) or “from” address (Alibi Training Australia ) is invalid.]
So EE is functioning its just not able to send emails.


Josh

  • Support Staff

January 15, 2018 at 7:11 pm

Hi there,

Since “Alibi Training Australia” isn’t a valid email address, you’ll need to change what’s set in the From fields of your email message templates. A few WP updates back included some changes where email address validation checks got more strict when emails get handed off to PHPmailer via wp_mail(). So where it used to work to have the From field formatted as something like “Company Name “, that no longer works as reliably as email address only for the From field.


Paul MILNE

January 15, 2018 at 9:20 pm

ok i manually changed the email address on the “Registration Approved” Template, tried a test and got the following message:
[The following errors have 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 (admin@alibitraining.com.au) or “from” address (admin@alibitraining.com.au) is invalid.

The test message was not sent]

????


Paul MILNE

January 15, 2018 at 9:28 pm

Just been on cpanel and the following Error message is coming up:- [Tue Jan 16 14:03:49.410491 2018] [:error] [pid 919962] [client 49.198.236.242:51933] PHP Warning: Illegal string offset ‘linktoggle_keys’ in /home/alal1949/public_html/wp-content/plugins/codecanyon-1497329-wp-boxer-pro/views/block_options.php on line 437, referer: http://www.alibitraining.com.au/wp-admin/admin.php?s&_wpnonce=c18b6dd30e&action=-1&month_range=February+2018&active_status=none&EVT_CAT=-1&page=espresso_events&route=default&perpage=10&trash_events_nonce=f8c384b7b0&action2=-1&default_nonce=49100952ae&orderby=Datetime.DTT_EVT_start&order=asc

Can you make head or tail of this –
Still looking for answers


Tony

  • Support Staff

January 16, 2018 at 4:09 am

The error is from another plugin (wp-boxer-pro) trying to use a value that doesn’t exist on EE routes, it’s not the cause of your problem.

With the error from EE we don’t get anything useful back from wp_mail() when we pass the email over to it so the message show is the most common cause (invalid to/from).

Do ‘normal’ WP notifications send? (password resets etc)

Or if you send a test email using the check email plugin:

https://wordpress.org/plugins/check-email/

Does that send?


Paul MILNE

January 16, 2018 at 9:16 pm

T uploaded your suggested plugin “Check email” no emails are getting through.
Can I reload EE4 and without deleting existing database???


Tony

  • Support Staff

January 17, 2018 at 4:38 am

T uploaded your suggested plugin “Check email” no emails are getting through.

Ok, so if you’re not getting any emails from any plugin it’s not an issue with Event Espresso. If WP can’t send emails then neither can EE (EE just builds the content of the email and then passes the email to wp_mail()) as other than the content the steps are the same as any/most emails being sent out of your site.

Your using the WP Mail SMTP plugin to route all of your emails through an SMTP server other than your hosts mailserver, have you confirmed the settings are correct in that plugin for the service you are using?

Can I reload EE4 and without deleting existing database???

Sure, Event Espresso does not remove any data when you de-activate or delete the plugin.

I’d still recommend creating a database backup beforehand just to be safe, you can use a plugin such as backupwordpress although there are many others available.


Paul MILNE

January 17, 2018 at 2:45 pm

G’day Tony, I appear to have solved the problem by upgrading with the latest EE 4.9.55.p, that arrived this morning, not sure why but system is up and running again. Working as normal. Thanks for your help I understand fixing problems remotely is difficult but your suggestion were always helpful. Cheers Paul

Viewing 9 reply threads

The support post ‘Emails not sending after latest upgrade’ 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