• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

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.

Inheritance
object
SaslCredentials
SmtpCredentials
Inherited Members
SaslCredentials.UserName
SaslCredentials.Password
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Smtp.Auth
Assembly: DRIT.Mail.dll
Syntax
public sealed class SmtpCredentials : SaslCredentials

Constructors

View Source

SmtpCredentials(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.

  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX