![]() |
intermittent smtp failures with gmail - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: intermittent smtp failures with gmail (/showthread.php?tid=92797) |
intermittent smtp failures with gmail - miked - 04-24-2025 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'] = ''; RE: intermittent smtp failures with gmail - InsiteFX - 05-11-2025 Try raising the SMTP Timeout to 60 seconds. |