Allow 'AUTH=LOGIN' capability for some servers.

This commit is contained in:
Vincent Richard 2006-12-26 08:28:59 +00:00
parent fd1be329d5
commit c46500fdd3

View File

@ -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");
}
}
}