Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class MailNotificationHandler

    Handles sending notifications via email using Amazon Simple Email Service (SES).

    Inheritance
    object
    AwsBaseService
    MailNotificationHandler
    Implements
    IDisposable
    INotificationHandler
    Inherited Members
    AwsBaseService.Configuration
    AwsBaseService.ExponentialBackoffInSeconds
    AwsBaseService.Logger
    AwsBaseService.Dispose()
    AwsBaseService.GetServiceRegionEndPoint()
    AwsBaseService.CreateService<T>()
    AwsBaseService.CreateDefaultRetryAsyncPolicy()
    AwsBaseService.CreateDefaultRetryPolicy()
    AwsBaseService.CreateRetryAsyncPolicy<T>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1, T2>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1, T2, T3>()
    AwsBaseService.CreateRetryAsyncPolicy<T, T1, T2, T3, T4>()
    AwsBaseService.CreateCircuitBreaker<T, T1>()
    AwsBaseService.Dispose(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Cloud.AWS.Notification
    Assembly: Innovt.Cloud.AWS.Notification.dll
    Syntax
    public class MailNotificationHandler : AwsBaseService, IDisposable, INotificationHandler

    Constructors

    | Edit this page View Source

    MailNotificationHandler(ILogger, IAwsConfiguration)

    Initializes a new instance of the MailNotificationHandler class.

    Declaration
    public MailNotificationHandler(ILogger logger, IAwsConfiguration configuration)
    Parameters
    Type Name Description
    ILogger logger

    The logger.

    IAwsConfiguration configuration

    The AWS configuration.

    | Edit this page View Source

    MailNotificationHandler(ILogger, IAwsConfiguration, string)

    Initializes a new instance of the MailNotificationHandler class with a specified region.

    Declaration
    public MailNotificationHandler(ILogger logger, IAwsConfiguration configuration, string region)
    Parameters
    Type Name Description
    ILogger logger

    The logger.

    IAwsConfiguration configuration

    The AWS configuration.

    string region

    The AWS region.

    Properties

    | Edit this page View Source

    DefaultCharset

    Gets or sets the default charset for the email.

    Declaration
    public string DefaultCharset { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    DisposeServices()

    Disposes of the Amazon Simple Email Service (SES) client instance.

    Declaration
    protected override void DisposeServices()
    Overrides
    AwsBaseService.DisposeServices()
    | Edit this page View Source

    SendAsync(NotificationMessage, CancellationToken)

    Sends a notification via email asynchronously.

    Declaration
    public Task<dynamic> SendAsync(NotificationMessage message, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    NotificationMessage message

    The notification message.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<dynamic>

    A dynamic response from the email sending operation.

    Implements

    IDisposable
    INotificationHandler

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX