Your software
My Mautic version is: 2.16.0
My PHP version is: 7.2.28
Your problem
My problem is: SMTP connection test fails with the following error:
Failed to authenticate on SMTP server with username “trainings@letswake.com” using 2 possible authenticators
++ Starting Swift_SmtpTransport << 220-letswake.com ESMTP Exim 4.93 #2 Sat, 14 Mar 2020 14:14:02 +0530 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO letswake.com << 250-letswake.com Hello letswake.com [31.220.50.106] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> dHJhaW5pbmdzQGxldHN3YWtlLmNvbQ== << 334 UGFzc3dvcmQ6 >> U2lsa3JvdXRlIQ== << 535 Incorrect authentication data !! Expected response code 235 but got code “535”, with message "535 Incorrect authentication data " (code: 535) >> RSET << 250 Reset OK >> AUTH PLAIN dHJhaW5pbmdzQGxldHN3YWtlLmNvbQB0cmFpbmluZ3NAbGV0c3dha2UuY29tAFNpbGtyb3V0ZSE= << 535 Incorrect authentication data !! Expected response code 235 but got code “535”, with message "535 Incorrect authentication data " (code: 535) >> RSET << 250 Reset OK
These errors are showing in the log:
[2020-03-14 08:06:04] mautic.NOTICE: Swift_TransportException: Failed to authenticate on SMTP server with username “trainings@letswake.com” using 1 possible authenticators (uncaught exception) at /home/knsmanish/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php line 181 while running console command mautic:emails:send
Steps I have tried to fix the problem:
SSL is all in place, i have tried all possible combinations of SMTP configuration in the Mautic Email Configuration Window.