View Source
Interface IEmailSender
Simple abstraction to send an email message
Assembly: Umbraco.Core.dll
Syntax
public interface IEmailSender
Methods
View Source
CanSendRequiredEmail()
Declaration
bool CanSendRequiredEmail()
Returns
| Type |
Description |
| System.Boolean |
|
View Source
SendAsync(EmailMessage, String)
Declaration
Task SendAsync(EmailMessage message, string emailType)
Parameters
| Type |
Name |
Description |
| EmailMessage |
message |
|
| System.String |
emailType |
|
Returns
View Source
SendAsync(EmailMessage, String, Boolean)
Declaration
Task SendAsync(EmailMessage message, string emailType, bool enableNotification)
Parameters
| Type |
Name |
Description |
| EmailMessage |
message |
|
| System.String |
emailType |
|
| System.Boolean |
enableNotification |
|
Returns