excellentvef.blogg.se

Fatal error when testing email for gmail smtp
Fatal error when testing email for gmail smtp







fatal error when testing email for gmail smtp

#0 /home/vagrant/Code/Family-laravel/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php(307): Swift_Transport_Esmtp_AuthHandler->afterEhlo(Object(Swift_SmtpTransport)) Nothing jumps out at me from laravel.log (below)- any ideas? local.ERROR: exception 'Swift_TransportException' with message 'Failed to authenticate on SMTP server with username using 3 possible authenticators' in /home/vagrant/Code/Family-laravel/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php:181

fatal error when testing email for gmail smtp

(And the other posts about this issue had other factors that made a fancier problem than mine). Swift_TransportException in AuthHandler.php line 181:įailed to authenticate on SMTP server with username using 3 possible authenticatorsīased on a little stackoverflow reading, I tried turning on 'access to less secure apps' in my gmail settings, but no change in the error. env has (x's added for anonymity)- the laracast doesn't have us use MAIL_USERNAME and MAIL_PASSWORD, but they're updated for good measure assuming I'll pull from there later: in the first little moment of truth trying to send a mail (3:30 mark), I get an authentication error: 'encryption' => env('MAIL_ENCRYPTION', 'tls'), I've followed the simple steps, chose gmail in mail.php (x's added for anonymity): 'driver' => env('MAIL_DRIVER', 'smtp'), I'm trying to set up email for my first laravel project, and was thrilled that there's a laracast for it:









Fatal error when testing email for gmail smtp