Class SmtpToolOptions
Configuration options for SmtpTool.
public sealed class SmtpToolOptions
- Inheritance
-
SmtpToolOptions
- Inherited Members
Properties
- AllowedRecipients
Gets or sets allowed recipient addresses or domains (prefix with @). Null allows all recipients.
- FromAddress
Gets or sets the from address. Defaults to Username if not set.
- Host
Gets or sets the SMTP server host.
- Password
Gets or sets the SMTP password.
- Port
Gets or sets the SMTP server port. Default is 587.
- Timeout
Gets or sets the connection timeout. Default is 30 seconds.
- UseSsl
Gets or sets whether to use SSL/TLS. Default is true.
- Username
Gets or sets the SMTP username.