Equinemarkt Only way it doesn't give an immediate error is to only put SSL or TLS
Yes, according to the source, only tls
or ssl
are valid for E-mail encryption: https://github.com/flarum/core/blob/eb4b18a979c7406cbf154a107662652d282fe415/src/Mail/SmtpDriver.php#L36 (correct me if I am wrong)
FYI you are able to browse your logs here to check for issues. The latest error again hints that you have specified either wrong password or username:
[2022-02-17 07:53:38] flarum.ERROR: Swift_TransportException: Failed to authenticate on SMTP server with username "XXX" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 5.7.0 Invalid login or password
". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535 5.7.0 Invalid login or password
". in /app/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php:191
Another error looked like the one I have experienced earlier: https://discuss.flarum.org/d/7585/2185. Just to check, is E-mail sent correctly when you put nothing in the encryption field/leave it blank? This could be related to symfony/symfony34846, or there's something wrong with our OpenSSL configuration