Search Results for

    Show / Hide Table of Contents

    Class EmailService

    SMTP-basierter Mail-Versand.

    Inheritance
    object
    EmailService
    Implements
    IEmailService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OEMS.Core.Infrastructure.EmailService
    Assembly: OEMS.Core.dll
    Syntax
    public sealed class EmailService : IEmailService

    Constructors

    EmailService(IOptions<EmailSettings>, ILogger<EmailService>)

    Declaration
    public EmailService(IOptions<EmailSettings> settings, ILogger<EmailService> logger)
    Parameters
    Type Name Description
    IOptions<EmailSettings> settings
    ILogger<EmailService> logger

    Methods

    SendBulkAsync(IEnumerable<string>, string, string, bool)

    Declaration
    public Task SendBulkAsync(IEnumerable<string> to, string subject, string body, bool isHtml = true)
    Parameters
    Type Name Description
    IEnumerable<string> to
    string subject
    string body
    bool isHtml
    Returns
    Type Description
    Task

    SendEmailAsync(string, string, string, bool)

    Declaration
    public Task SendEmailAsync(string to, string subject, string body, bool isHtml = true)
    Parameters
    Type Name Description
    string to
    string subject
    string body
    bool isHtml
    Returns
    Type Description
    Task

    Implements

    IEmailService
    In this article
    Back to top Generated by DocFX