API Reference
Class
EmailNotificationSender
Sends notifications via SMTP.
Inheritance
- Object
- EmailNotificationSender
Remarks
A plain text email is constructed and sent using the provided SMTP connection information.
Constructors
public EmailNotificationSender() #Methods
public virtual async Task SendAsync(String message, CancellationToken ct = null) #Returns:
TaskExecutes the send async operation.
Parameters
- message System.String
- ct System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String SmtpHost { get; set; } #Gets or sets the smtp host value.
public Int32 Port { get; set; } #Gets or sets the port value.
public Boolean UseSsl { get; set; } #Gets or sets the use ssl value.
public String From { get; set; } #Gets or sets the from value.
public String To { get; set; } #Gets or sets the to value.
public String Username { get; set; } #Gets or sets the username value.
public String Password { get; set; } #Gets or sets the password value.