diff options
author | Vincent Richard <[email protected]> | 2006-12-26 08:28:59 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2006-12-26 08:28:59 +0000 |
commit | c46500fdd3cd4f6799ade3652b5b7169497be0a3 (patch) | |
tree | 1521da1882c6f7102a1d6fdb5a6c7bbdeafdd2db | |
parent | Started version 0.8.2. (diff) | |
download | vmime-c46500fdd3cd4f6799ade3652b5b7169497be0a3.tar.gz vmime-c46500fdd3cd4f6799ade3652b5b7169497be0a3.zip |
Allow 'AUTH=LOGIN' capability for some servers.
-rw-r--r-- | src/net/smtp/SMTPTransport.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/smtp/SMTPTransport.cpp b/src/net/smtp/SMTPTransport.cpp index 1e873613..810b3dce 100644 --- a/src/net/smtp/SMTPTransport.cpp +++ b/src/net/smtp/SMTPTransport.cpp @@ -301,6 +301,11 @@ void SMTPTransport::authenticateSASL() { saslMechs.push_back(word); } + // Some servers send "AUTH=LOGIN" + else if (word.length() == 10 && utility::stringUtils::toUpper(word) == "AUTH=LOGIN") + { + saslMechs.push_back("LOGIN"); + } } } |