deliciousbrains / wp-offload-ses-lite

WP Offload SES Lite sends all outgoing WordPress emails through Amazon Simple Email Service (SES) instead of the local wp_mail() function.
https://wordpress.org/plugins/wp-ses/
13 stars 11 forks source link

PHP Fatal error #40

Open CaptainPackers opened 2 years ago

CaptainPackers commented 2 years ago

I wasn't receiving any email after setting up WP Offload SES Lite and the cron-test.php plugin and crontab entry as outlined in your Cron & Email Sending page of your Hosting WordPress Yourself series, so I modified the crontab to redirect the output to a log file and found this:

PHP Fatal error: Uncaught Error: Call to a member function mail_handler() on null in /home/myhome/mydomain.com/public/wp-content/plugins/wp-ses/wp-ses.php:162

I'm pretty sure this is why I'm not getting any test email, but I don't know how to fix this.

There is a stack trace of 19 entries in the log that I chose not to post here, but I would be happy to email them to you.

Can you please look into this or comment as to why this might be happening?

Thanks.

tim-bloxsome commented 2 years ago

I had the same issue, then discovered that email I was providing on the "Return Path" on the settings tab was not accepted by AWS SES - so I left that field empty and that that worked.

CaptainPackers commented 2 years ago

Thanks.

We actually decided to move to Zoho mail because we want to provide each team member an inbox from which they can reply to customers as sales@ourdomain or me@ourdomain. I couldn't figure out how to do that with SES.

But I am getting the test emails with the zoho mail plugin installed and configured with the appropriate api keys.