Problem to setup mail with mailgun

Your software
My Mautic version is: 5.0.4
My PHP version is: 8.1.29
My Database type and version is: Mariadb 10.5

Your problem
My problem is:
When I try to send a test, I have this message :
Failed to authenticate on SMTP server with username “xxx@xxx.co” using the following authenticators: “LOGIN”, “PLAIN”. Authenticator “LOGIN” returned “Expected response code “235” but got code “535”, with message “535 Authentication failed”.”. Authenticator “PLAIN” returned “Expected response code “235” but got empty code.”.

I try from cli with swaks, it works.

My DSN : smtp://xxx@xxx.co:SECRET@smtp.eu.mailgun.org:587?encryption=tls

When mautic write the dsn in the file config/local.php, some letters are changing, @ become %40, and it doesn’t work :wink:

You have to edit the file manualy !

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.