Allow 'AUTH=LOGIN' capability for some servers.
This commit is contained in:
parent
fd1be329d5
commit
c46500fdd3
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user