intermittent smtp failures with gmail |
CI version 3.1.13
We've seen this more than a few times where, out of the blue, sending mail thru google randomly declines to auth. Usually about 24 hours or so later the problem resolves itself. No changes to my config/email.php file since Dec of '23. Sending 200ish emails a day will work fine for months on end, and then suddenly I human notified that emails that CI has sent are not appearing in the gmail sent mail folder. The CI logs show about 1 in 10 smtp failure messages like the one below. Server is running on a DigitalOcean droplet in the SF region. Requested help at DO as well. How can I best troubleshoot this? Code: 220 [url=http://smtp.googlemail.com]smtp.googlemail.com[/url] ESMTP<uuid>.110 - gsmtp My config/email.php: Code: $config['useragent'] = '';
Try raising the SMTP Timeout to 60 seconds.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |