Interface IEmailService
Represents an email service.
Namespace: DataWeb.Email
Assembly: DataWeb.Core.dll
Syntax
public interface IEmailService
Properties
Name
Gets the name of the email service.
Declaration
string Name { get; }
Property Value
Type |
---|
string |
Methods
SendAsync(EmailMessage)
Sends an email message asynchronously.
Declaration
Task SendAsync(EmailMessage message)
Parameters
Type | Name | Description |
---|---|---|
EmailMessage | message | The EmailMessage to be sent. |
Returns
Type | Description |
---|---|
Task | A task representing the asynchronous operation. |