The SmtpConfiguration type exposes the following members.

Constructors

  NameDescription
Public methodSmtpConfiguration()()()()
Creates a new instance of SmtpConfiguration class.
Public methodSmtpConfiguration(SmtpConfigurationSource)
Creates a new instance of SmtpConfiguration class and fills it with values read from the specified source.
Public methodSmtpConfiguration(SmtpConfigurationSource, SmtpDeliveryEngine)
Creates a new instance of SmtpConfiguration class and fills it with values read from the specified source and with the specified SmtpDeliveryEngine.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAuthenticationMethod
Gets or sets the authentication method.
Public propertyClientCertificate
Gets or sets the client certificate chain.
Public propertyStatic memberDefault
Gets the default SmtpConfiguration instance read from application configuration file.
Public propertyDeliveryEngine
Gets or sets the delivery engine.
Public propertyDeliveryMethod
Gets or sets the delivery method.
Public propertyFrom
Gets or sets the message sender address.
Public propertyLogWriter
Gets or sets the LogWriter instance.
Public propertyOptions
Public propertyParameters
Gets or sets the security parameters.
Public propertyPassword
Gets or sets the password used for SMTP authentication.
Public propertyPickupDirectoryPath
Gets or sets the pickup directory path (used with SmtpDeliveryMethod.IisPickupDirectory).
Public propertyProxy
Gets or sets the network proxy to use to access a remote server.
Public propertySecurity Obsolete.
Public propertyServerName
Gets or sets the server address - a hostname or a dotted string address.
Public propertyServerPort
Gets or sets the server port (e.g. 25).
Public propertySettings
Gets or sets Smtp settings.
Public propertySslMode
Gets or sets the connection security mode.
Public propertyUseDefaultCredentials
Gets or sets the value indicating whether to use the credentials of the current user to log in.
Public propertyUserName
Gets or sets the user name used for SMTP authentication.

See Also