Samuel Jack
Samuel Jack

Reputation: 33270

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.

Upvotes: 6

Views: 988

Answers (1)

Heinzi
Heinzi

Reputation: 172330

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

Upvotes: 2

Related Questions