Mautic - Configuration - Email Setting - Test Connection Error

Your software Windows 7
My PHP version is : 7.3
My MySQL/MariaDB version is (delete as applicable): MariaDB version 5

Updating/Installing Errors
I am (delete as applicable): Installing
installing via (delete as applicable) : Web

These errors are showing in the Configuration - when Testing Connection :
Failed to authenticate on SMTP server with username “service@hrinfo360.com” using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) (code: 535). Authenticator PLAIN returned Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) (code: 535) >> RSET << 250 2.0.0 Ok >> AUTH PLAIN c2VydmljZUBocmluZm8zNjAuY29tAHNlcnZpY2VAaHJpbmZvMzYwLmNvbQBIckluZm8zNjAqMTIz << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) (code: 535) >> RSET << 250 2.0.0 Ok >> AUTH PLAIN c2VydmljZUBocmluZm8zNjAuY29tAHNlcnZpY2VAaHJpbmZvMzYwLmNvbQBIckluZm8zNjAqMTIz << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) (code: 535) >> RSET << 250 2.0.0 Ok >> AUTH PLAIN c2VydmljZUBocmluZm8zNjAuY29tAHNlcnZpY2VAaHJpbmZvMzYwLmNvbQBIckluZm8zNjAqMTIz << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) (code: 535).
++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) (code: 535) >> RSET << 250 2.0.0 Ok >> AUTH PLAIN c2VydmljZUBocmluZm8zNjAuY29tAHNlcnZpY2VAaHJpbmZvMzYwLmNvbQBIckluZm8zNjAqMTIz << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " Log data: ++ Starting Swift_SmtpTransport << 220 ESMTP smtp.hostinger.com >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> STARTTLS << 220 2.0.0 Ready to start TLS >> EHLO www.hrinfo360.com << 250-smtp.hostinger.com 250-PIPELINING 250-SIZE 48811212 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> c2VydmljZUBocmluZm8zNjAuY29t << 334 UGFzc3dvcmQ6 >> SHJJbmZvMzYwKjEyMw== << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) (code: 535) >> RSET << 250 2.0.0 Ok >> AUTH PLAIN c2VydmljZUBocmluZm8zNjAuY29tAHNlcnZpY2VAaHJpbmZvMzYwLmNvbQBIckluZm8zNjAqMTIz << 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 !! Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 " (code: 535) (code: 535) >> RSET << 250 2.0.0 Ok

These errors are showing in the Mautic log :

Your problem
My problem is :
I have created an SMTP server on Hosting VPS Cyberpanel Hosting. Everything works fine and I can send emails from webmail.
I installed Mautic 4 and configured using a video tut. while testing the connection the mentioned error follows.

Steps I have tried to fix the problem : Tried almost all steps I knew

It looks like there is an authentication error. Make sure you select the correct email service from the drop down and double check all email settings (like, host, port, password). And drop the screenshot of email configuration (just blur out any sensitive data) in case further assistance is required.

I would also suggest first try to add account to desktop email client (like thunderbird) - that way you can check that everything is OK on the email side.

Hello!

Thank you for your early reply

Please refer to the attached screenshot and correct me if I am wrong.

I will be publishing them on the Community as well

Thanks and Regards









Well you pasted info about hrinfo360.com and you entered .net domain in mautic, try using smtp.hrinfo360.com in mautic.

Thanks for you early reply.
It was by mistake that I entered .net, I corrected it and found another error:
Unable to connect with TLS encryption Log data: ++ Starting Swift_SmtpTransport << 220 mail.hrinfo360.com ESMTP Postfix >> EHLO hrinfo360.com << 250-mail.hrinfo360.com 250-PIPELINING 250-SIZE 30720000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250 CHUNKING >> STARTTLS << 220 2.0.0 Ready to start TLS !! Unable to connect with TLS encryption (code: 0)
++ Starting Swift_SmtpTransport << 220 mail.hrinfo360.com ESMTP Postfix >> EHLO hrinfo360.com << 250-mail.hrinfo360.com 250-PIPELINING 250-SIZE 30720000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250 CHUNKING >> STARTTLS << 220 2.0.0 Ready to start TLS !! Unable to connect with TLS encryption (code: 0)

Have you tried using SSL instead of TLS?

Yes I tried it as well. Now I have got suggestions to reinstall everything from scratch and am gonna do so and try.
Thank you very much for your support, I may be back if some issues are found as before.

Hi!
When I test connection without any encryption (SSL/TLS) NONE. Testing gets SUCCESS.
so the issue is with Encryption

I cant find any solutions

Did you see this?

Hi I have a similar issue and thats what brought me here. But since I just registered, I am unable to make a new post. Does anyone know how long it takes to get access to post a new thread?

1 Like