Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does System.Net.Mail.SmtpClient support CRAM-MD5 authentication?

Does System.Net.Mail.SmtpClient support CRAM-MD5 authentication, and if so, do I need to do anything to enable it?

MSDN appears to be silent on the matter.

like image 914
Samuel Jack Avatar asked Jul 12 '10 09:07

Samuel Jack


1 Answers

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
like image 98
Heinzi Avatar answered Oct 08 '22 10:10

Heinzi