Search Results for

    Show / Hide Table of Contents

    Interface IEmailTemplateService

    Service for generating branded email templates

    Namespace: OEMS.Core.Infrastructure.EmailService
    Assembly: OEMS.Core.dll
    Syntax
    public interface IEmailTemplateService

    Methods

    GeneratePasswordResetEmailAsync(User, Organization, string)

    Generates a branded password reset email

    Declaration
    Task<string> GeneratePasswordResetEmailAsync(User user, Organization organization, string resetUrl)
    Parameters
    Type Name Description
    User user

    The user requesting password reset

    Organization organization

    The user's organization for branding

    string resetUrl

    The password reset URL

    Returns
    Type Description
    Task<string>

    HTML email content

    GetOrganizationLogoUrlAsync(Organization)

    Gets the logo URL for an organization

    Declaration
    Task<string> GetOrganizationLogoUrlAsync(Organization organization)
    Parameters
    Type Name Description
    Organization organization

    The organization

    Returns
    Type Description
    Task<string>

    Logo URL or default logo path

    In this article
    Back to top Generated by DocFX