Class SmtpCredentials
Username and password credentials for SMTP authentication.
A type-forward subclass of SaslCredentials.
Existing SMTP code and tests reference SmtpCredentials
unchanged; the shared SaslCredentials is used by POP3 and IMAP.
Inherited Members
Namespace: DRIT.Mail.Rfc.Smtp.Auth
Assembly: DRIT.Mail.dll
Syntax
public sealed class SmtpCredentials : SaslCredentials
Constructors
View SourceSmtpCredentials(string, string)
Initializes a new instance of the SmtpCredentials class.
Declaration
public SmtpCredentials(string userName, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| string | userName | The authentication user name. |
| string | password | The authentication password. |