Table of Contents

Interface IEmail

Namespace
GastroSky.Services.EmailServices.Emails
Assembly
GastroSky.dll
public interface IEmail

Properties

Html

string Html { get; }

Property Value

string

Recipient

string Recipient { get; }

Property Value

string

ReplyTo

string? ReplyTo { get; }

Property Value

string

Sender

string Sender { get; }

Property Value

string

Subject

string Subject { get; }

Property Value

string

Methods

GetMailTemplate(GastroSkyDatabaseContext, string)

public static MailTemplate GetMailTemplate(GastroSkyDatabaseContext db, string mailTemplateId)

Parameters

db GastroSkyDatabaseContext
mailTemplateId string

Returns

MailTemplate

WrapWithMailBaseTemplate(IConfiguration, MailTemplate, string, Language)

public static string WrapWithMailBaseTemplate(IConfiguration configuration, MailTemplate mailTemplate, string mailContent, Language language)

Parameters

configuration IConfiguration
mailTemplate MailTemplate
mailContent string
language Language

Returns

string