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
- emailMessageEmailMessage
- Email message to be sent. 
- cancellationTokenCancellationToken
- Token to cancel the asynchronous operation. 
Returns
- Task<EmailSendResult>