Support

Home Forums Event Espresso Premium Split: Emails are not being sent out

Split: Emails are not being sent out

Posted: July 3, 2017 at 12:37 am

Viewing 21 reply threads


greyowl

July 3, 2017 at 12:37 am

I have the same problem since a couple of days!


greyowl

July 3, 2017 at 12:38 am

In fact, I see 0 messages in all status lists!


Josh

  • Support Staff

July 3, 2017 at 8:10 am

Hi greyowl,

If you go to test an email from one of the email Message template editors, do you receive the test? If so, it may help to go to Event Espresso > Messages > Message Settings and set the the option for emails to be sent on the same request.

If not, can you verify whether *other* emails (like a WordPress password reset email) get sent from your site?

You can install this plugin to check what happens when the emails get processed:
https://wordpress.org/plugins/wp-mail-logging/


greyowl

July 3, 2017 at 12:47 pm

Test messages do go out and arrive. But standard Registration Approved messages don’t even appear in the Queued For Generating list. And all other message lists are also 0, even all the previously sent messages are no longer visible!
I have tried setting the the option for emails to be sent on the same request, but it makes no difference.
I have installed the wp-mail-logging plugin. It sees a test message but of course no real message, because that never even gets queued for generating.


Tony

  • Support Staff

July 3, 2017 at 3:38 pm

Test messages do go out and arrive.

Ok, great.

But standard Registration Approved messages don’t even appear in the Queued For Generating list. And all other message lists are also 0, even all the previously sent messages are no longer visible!

Have you or anyone else been making changes to the database recently? Running ‘cleanup’ plugins for example?

The messages from the queue are stored within the database so I can’t think of any reason when they would no longer show unless the tables have had been dropped/cleared.

But standard Registration Approved messages don’t even appear in the Queued For Generating list. And all other message lists are also 0, even all the previously sent messages are no longer visible!

Within your wp-config.php enable WP_DEBUG.

Then also add define('EE_DEBUG_MESSAGES', true);

Now run a test registration, do you see any messages in the queue?


greyowl

July 4, 2017 at 2:28 am

Thanks Tony. I realise now that I have the problem since I migrated from my development site to the live site (www.lernen-im-quartier.ch) using All-in-One WP Migration. This should have saved and restored all files + DB. I’m trying with the host provider to restore the exported development site to a temporary subdomain, to verify if that is OK.


greyowl

July 4, 2017 at 3:53 am

No one has been making changes to the database. All I did was an export and import using All-in-One WP Migration.
I have now activated WP_DEBUG and tried a test registration. No message is generated. Can I get any info from the debug file?


Tony

  • Support Staff

July 4, 2017 at 4:04 am

No one has been making changes to the database. All I did was an export and import using All-in-One WP Migration.

A migration is a change to the database.

It sounds like there is an issue with migration, either the migration hasn’t worked correctly and/or there is a problem with the tables on the new site.

I have now activated WP_DEBUG and tried a test registration. No message is generated. Can I get any info from the debug file?

Did you just enable WP_Debug using define('WP_DEBUG', true);?

If so you won’t have a debug file, you could check the servers error logs (errog_log or similar on your server) but I’d expect you would see further issues if you were getting errors there, especially with WP_Debug enabled.

Did you add define('EE_DEBUG_MESSAGES', true);?


greyowl

July 4, 2017 at 4:12 am

Yes, I added define(‘EE_DEBUG_MESSAGES’, true);
I find a debug.log file but it has no entries from today.


Tony

  • Support Staff

July 4, 2017 at 4:40 am

So have you enabled WP_DEBUG_LOG?

On the original site, the dev site, be it local or otherwise, if you run a registration do you see the new emails in the messages queue?


greyowl

July 4, 2017 at 5:37 am

I added define(‘WP_DEBUG’, true); and define(‘EE_DEBUG_MESSAGES’, true); to wp-config.php
Unfortunately, the original dev site is no longer functional. I’ve asked the hosting provider to restore it.


greyowl

July 4, 2017 at 9:19 am

My provider has restored the dev site. But it also doesn’t send emails! And all the message lists are 0 there too. I’m completely baffled. How can one see what’s not working as it should?


Josh

  • Support Staff

July 4, 2017 at 12:15 pm

You can also add the following to the wp-config.php file:

define('EE_ERROR_EMAILS', TRUE);

Then you deactivate all other plugins and switch to a default WordPress theme.

Then you go to Event Espresso > Registrations and click on the
Resend Registration Details button [ ]. At that point does the email send or are there errors displayed?


greyowl

July 5, 2017 at 1:46 am

I now have the following in wp-config.php:
define(‘WP_DEBUG’, true);
define(‘EE_DEBUG_MESSAGES’, true);
define(‘EE_ERROR_EMAILS’, TRUE);
I have disabled all plugins and set the theme to twenty-seventeen.
When I register for a course or resend registration details from a previous registrant, no emails are generated. I also see no error message on the screen nor is anything added to public_html/wp-content/debug.log


greyowl

July 5, 2017 at 1:48 am

I switched back to my usual theme and just noticed the info message which appeared:
“The Invoice payment method has been activated. It requires the invoice message type, html messenger, and pdf messenger be activated as well for the messages system, so it has been automatically verified that they are also active.”
Is there a clue there?


greyowl

July 5, 2017 at 6:35 am

My provider restored an older version from a date (June 22) when I know it was working, i.e. messages were being sent. But emails are again not being generated with this version.


Josh

  • Support Staff

July 5, 2017 at 11:57 am

You had earlier mentioned that this problem started after you migrated from the development site to the live site. Does the email work on the development site?


greyowl

July 5, 2017 at 12:45 pm

Perhaps rather foolishly, I overwrote the development site with the exported working old (pre-EE) site, before I realised that the imported new site wasn’t fully working. Now I have got the provider to restore the Dev site, but it shows the same problem: emails aren’t being generated.


Josh

  • Support Staff

July 5, 2017 at 12:52 pm

It sounds like you need to find that change that was made to the site that happened after June 22 when this was working.


unifeyed

July 5, 2017 at 1:39 pm

As of late, I have been experiencing the same issue. Email notifications are not going out. The client is listed as an Event Admin and they are not being notified when a user orders tickets.

I just did a test order, and neither the Event Admin nor myself (a customer), received anything. Can someone please assist me?


greyowl

July 5, 2017 at 2:19 pm

The problem seems to have arisen when I set the events to “Not approved”, as Josh suggested in https://eventespresso.com/topic/remove-all-payment-options/
Now the emails go out but the payment options are again visible.
Can I have my cake and eat it?


Josh

  • Support Staff

July 5, 2017 at 2:58 pm

You can use the Not Approved Registration message type for those. The Registration Approved message type is intended to only go to recipients that have an Approved Registration.

Viewing 21 reply threads

The support post ‘Split: Emails are not being sent out’ 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