Interface IEmailClient
- Namespace
- CMS.EmailEngine
- Assembly
- CMS.EmailEngine.dll
Defines service for sending emails out of the Xperience application.
public interface IEmailClient
- Extension Methods
Methods
SendEmail(EmailMessage, CancellationToken)
Sends given email by a registered mail-out service.
Task<EmailSendResult> SendEmail(EmailMessage emailMessage, CancellationToken cancellationToken = default)
Parameters
emailMessage
EmailMessageEmail message to be sent.
cancellationToken
CancellationTokenToken to cancel the asynchronous operation.
Returns
- Task<EmailSendResult>