Interface IEmailService
Used to send emails to associates.
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public interface IEmailService
Remarks
See the admin settings email settings page to configure who the email is from and how it is sent.
Methods
SendEmail(String, String, String, Int32[])
Sends an email.
Declaration
Task SendEmail(string to, string subject, string body, int[] attachments)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | to | The associate's email address. |
| System.String | subject | Email subject line. |
| System.String | body | Email content. |
| System.Int32[] | attachments | File attachment DB recordnumbers. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Remarks
See the admin settings email settings page to configure who the email is from and how it is sent.