Does System.Net.Mail.SmtpClient support CRAM-MD5 authentication, and if so, do I开发者_C百科 need to do anything to enable it?
MSDN appears to be silent on the matter.
No, it's not supported (in .NET Framework 4.5.2).
Digging through the reference source of SmtpClient reveals that System.Net.Mail.SmtpConnection
is used to create the SMTP connection. Its source shows that (only) the following authentication modes are supported:
- LOGIN
- NTLM
- GSSAPI
- WDIGEST
精彩评论