Posted: December 4, 2019 at 4:14 pm
|
I know it set it once, but I can’t locate the page to edit SMTP and accounts information for the outgoing messages sent from EE4. |
Hi, The outgoing messages are actually sent through the wp_mail() function, so what ever you set up with SMTP was likely using a plugin. If you no longer have an SMTP plugin, this one is actively maintained and supported: |
|
|
Thanks Josh. I should have added later after some digging but I went straight to bed so I could dig in again this morning. In the digging, I found EE recommendations for a mailing system and signed up for and setup Mailgun. It’s active and the test emails are going on. Now, oddly, my message seems stuck in the Queued for sending. Is there something I need to do to tell EE that Mailgun is in play? |
No. If the messages stay in the queue after 5 minutes, after refreshing any page on the site, then that could mean there’s an issue related to scheduled tasks not working on your site. A quick way to check scheduled tasks functionality is you go to your site’s Tools > Site Health page. After that page loads it will check scheduled tasks and give you a status message on how that went. |
|
|
Everything says good in there, except PHP was at 7.2 so I upgraded that. (We’ll see what that broke. 😉 In the EE – Messages – Settings tab, should I disable “This messenger delivers messages via email using the built-in wp_mail function included with WordPress” option? Does the reference to wp_mail mean that wp_mail is still the active mail engine? |
No, wp_mail() is a function and is used regardless as Mailgun (and others) hook into wp_mail to alter the settings to suit. On the messages activity list, if you click the icon for one of the messages, does it send? |
|
|
Yes, that is the only way I can get them to send. No luck in disabling some Plugins I thought might be the problem. |
|
And it looks like the emails are still going out through my GSuite. I mistyped and outgoing address and got an undeliverable back to my email. So I still have to fight with Mailgun to get that working. |
Install WP Crontrol. Go to Tools -> Cron events. Do you have these 3 listed there? AHEE__EE_Messages_Scheduler__generation |
|
|
I do not see “AHEE__EE_Messages_Scheduler__sending” The first and last you listed are there. |
Ok, that’s why. If you deactivate and reactivate EE does it show up again? |
|
|
It does not. |
|
Should I remove and reinstall the EE core? |
|
I am not sure why, but after Deactivating and Reactivating, it’s now there! It’s working! Thanks again! |
My apologies for the delay, I see you’ve marked this as resolved now but I’ll answer the above for future readers.
You could, but it’s very unlikely to fix the problem unless the something was missing from the install (in which case I’d expect other errors not just the above).
EE checks if So what may have happened is you de-activated EE at the right time for — I can’t think of a reason for that cron task to have gone missing, if it continues to happen please do let us know, we may need to add some debug code to see why it’s happening. |
|
|
That’s why you’re awesome, Tony! Thanks for the follow up. I really appreciate all the help you all have been able to provide when I run into problems. |
You’re most welcome, we are here to help 🙂 If you have a minute it would be great if you could share your experience with Event Espresso or maybe provide a review on WP.org. Although no pressure to do so if you prefer not to. |
|
|
Done, and I stand by what I said. But I typed it out before I went back in the site this morning and found the __sending cron job missing. De/reactivating brought it back again, but wonder what is happening to keep removing this entry. |
If you use cron tools to run the cron, does it throw any errors? You may need to check your servers error logs as they may not be set to display. |
|
I just realised I made a couple of assumptions in my last post. To run the cron: Tools -> Cron Events Find the cron in the list and on the right of the screen (you’ll likely need to scroll) hit Run Now. Any errors thrown during the request should be saved to your servers error logs, most hosts give you access to it in your control panel, if not check for an Again if there’s none to be found, add this to your https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug Add that above the line that has (That last step makes your errors log in publicly available location, so don’t leave that code in place as first that file could end up huge if you forget about it and also you don’t want to leave your error log publicly accessible for various reasons) |
|
|
Hi there. Sorry for the delay. This hasn’t occurred again, so I haven’t proceeded with the above. I will bookmark this in case the issue happens again. Thanks Tony! |
The support post ‘Where do I edit outgoing email settings’ 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.