Version:
OtterConfig.Smtp Class
Contains SMTP configuration.
Inheritance Hierarchy
- object
- Inedo.Otter.OtterConfig<Inedo.Otter.OtterConfig.Smtp>
- Inedo.Otter.OtterConfig.Smtp
Syntax
public
class
OtterConfig.Smtp : OtterConfig<OtterConfig.Smtp>
Properties
|
Name |
Description |
|
EnableSSL
|
Gets or sets a value indicating whether SSL should be used.
|
|
FromAddress
|
Gets or sets the "from" address of any emails sent from the system.
|
|
FromName
|
Gets or sets the "from" name of any emails sent from the system.
|
|
Host
|
Gets or sets the host name or IP address of the SMTP server.
|
|
Password
|
Gets or sets the password used to authenticate with the SMTP server.
|
|
Port
|
Gets or sets the port number used to connect to the SMTP server.
|
|
Timeout
|
Gets or sets the number of seconds before the SMTP client should timeout.
|
|
UserName
|
Gets or sets the username used to authenticate with the SMTP server.
|
Methods
|
Name |
Description |
|
CreateClient
|
Returns a new System.Net.Mail.SmtpClient instance initialized with the appropriate settings.
|
|
CreateMessage
|
Returns a new System.Net.Mail.MailMessage instance initialized with the appropriate settings.
|