Class IisSmtpSettings
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the IIS SMTP settings.
public class IisSmtpSettings : BypassSection
- Inheritance
-
IisSmtpSettings
- Inherited Members
Constructors
IisSmtpSettings()
Intializes a new instance of the CENTREL.XIA.Configuration.Types.IisSmtpSettings class.
public IisSmtpSettings()
Properties
AuthenticationTypeString
Gets the authentication type as a human readable string.
public string AuthenticationTypeString { get; set; }
Property Value
DeliveryMethod
Gets or sets the delivery method.
public IisSmtpDeliveryMethod DeliveryMethod { get; set; }
Property Value
FromAddress
Gets or sets the from address.
public string FromAddress { get; set; }
Property Value
Host
Gets or sets the name or IP address of the SMTP server.
public string Host { get; set; }
Property Value
Password
Gets or sets the password used to connect to the SMTP server.
public IisPassword Password { get; set; }
Property Value
PickupDirectoryPath
Gets or sets the path to the pickup directory.
public string PickupDirectoryPath { get; set; }
Property Value
Port
Gets or sets the TCP port of the SMTP server.
public int Port { get; set; }
Property Value
UseDefaultCredentials
Gets or sets whether to use the default credentials.
public BooleanOption UseDefaultCredentials { get; set; }
Property Value
Username
Gets or sets the username used to connect to the SMTP server.
public string Username { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.IisSmtpSettings class from the specified Xml.
public static IisSmtpSettings FromXml(string xml)
Parameters
xml
stringThe XML representation of the CENTREL.XIA.Configuration.Types.IisSmtpSettings object
Returns
- IisSmtpSettings
A CENTREL.XIA.Configuration.Types.IisSmtpSettings class from the specified Xml.
ToString()
Returns the SMTP settings as a human readable string.
public override string ToString()
Returns
- string
The SMTP settings as a human readable string.