go-mail/auth
Winni Neessen 862749f863
Fix SMTP AUTH LOGIN method for servers with uncommon success messages
This fixes #94 and basically reverts d0f0435. As James points out correctly in #94, we should not assume specific responses from the server. As long as the spec is followed and the server returns the correct SMTP code, we should not do our own magic.

I've also extended the `getTestConnection` method in client_test.go, so that we can specify more test environment options like `TEST_PORT` and `TEST_TLS_SKIP_VERIFY`. This was needed for testing with the ProtonMail Bridge which listens on a different port and has non-trusted certificates.
2023-01-07 11:31:46 +01:00
..
auth_test.go Make golangci-lint gofumpt happy 2022-10-17 18:12:18 +02:00
login.go Fix SMTP AUTH LOGIN method for servers with uncommon success messages 2023-01-07 11:31:46 +01:00