DataWeb
Search Results for

    Show / Hide Table of Contents

    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 Description
    string

    Methods

    SendAsync(EmailMessage, CancellationToken)

    Sends an email message asynchronously.

    Declaration
    Task SendAsync(EmailMessage message, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    EmailMessage message

    The EmailMessage to be sent.

    CancellationToken cancellationToken
    Returns
    Type Description
    Task

    A task representing the asynchronous operation.

    In this article
    Back to top Generated by DocFX