Class EmailSenderBase
Inheritance
object
EmailSenderBase
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.Emailing.dll
Syntax
public abstract class EmailSenderBase : IEmailSender
Constructors
EmailSenderBase(IEmailSenderConfiguration, IBackgroundJobManager)
Declaration
protected EmailSenderBase(IEmailSenderConfiguration configuration, IBackgroundJobManager backgroundJobManager)
Parameters
Properties
BackgroundJobManager
Declaration
protected IBackgroundJobManager BackgroundJobManager { get; }
Property Value
Configuration
Declaration
protected IEmailSenderConfiguration Configuration { get; }
Property Value
Methods
NormalizeMailAsync(MailMessage)
Declaration
protected virtual Task NormalizeMailAsync(MailMessage mail)
Parameters
| Type |
Name |
Description |
| System.Net.Mail.MailMessage |
mail |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
QueueAsync(string, string, string, bool)
Declaration
public virtual 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
public virtual 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
public virtual 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
public virtual 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
public virtual 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 |
|
SendEmailAsync(MailMessage)
Declaration
protected abstract Task SendEmailAsync(MailMessage mail)
Parameters
| Type |
Name |
Description |
| System.Net.Mail.MailMessage |
mail |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements
Extension Methods