Interface IEmailSender
Assembly: Volo.Abp.Emailing.dll
Syntax
public interface IEmailSender
Methods
QueueAsync(string, string, string, bool)
Declaration
Task QueueAsync(string to, string subject, string body, bool isBodyHtml = true)
Parameters
| Type |
Name |
Description |
| string |
to |
|
| string |
subject |
|
| string |
body |
|
| bool |
isBodyHtml |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
QueueAsync(string, string, string, string, bool)
Declaration
Task QueueAsync(string from, string to, string subject, string body, bool isBodyHtml = true)
Parameters
| Type |
Name |
Description |
| string |
from |
|
| string |
to |
|
| string |
subject |
|
| string |
body |
|
| bool |
isBodyHtml |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SendAsync(MailMessage, bool)
Declaration
Task SendAsync(MailMessage mail, bool normalize = true)
Parameters
| Type |
Name |
Description |
| System.Net.Mail.MailMessage |
mail |
|
| bool |
normalize |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SendAsync(string, string, string, bool)
Declaration
Task SendAsync(string to, string subject, string body, bool isBodyHtml = true)
Parameters
| Type |
Name |
Description |
| string |
to |
|
| string |
subject |
|
| string |
body |
|
| bool |
isBodyHtml |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SendAsync(string, string, string, string, bool)
Declaration
Task SendAsync(string from, string to, string subject, string body, bool isBodyHtml = true)
Parameters
| Type |
Name |
Description |
| string |
from |
|
| string |
to |
|
| string |
subject |
|
| string |
body |
|
| bool |
isBodyHtml |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Extension Methods