Did you read https://meta.discourse.org/t/bug-smtp-password-field-does-not-escape-comment-sign-hash/23344/