Interface IEmail
- Namespace
- GastroSky.Services.EmailServices.Emails
- Assembly
- GastroSky.dll
public interface IEmail
Properties
Html
string Html { get; }
Property Value
Recipient
string Recipient { get; }
Property Value
ReplyTo
string? ReplyTo { get; }
Property Value
Sender
string Sender { get; }
Property Value
Subject
string Subject { get; }
Property Value
Methods
GetMailTemplate(GastroSkyDatabaseContext, string)
public static MailTemplate GetMailTemplate(GastroSkyDatabaseContext db, string mailTemplateId)
Parameters
dbGastroSkyDatabaseContextmailTemplateIdstring
Returns
WrapWithMailBaseTemplate(IConfiguration, MailTemplate, string, Language)
public static string WrapWithMailBaseTemplate(IConfiguration configuration, MailTemplate mailTemplate, string mailContent, Language language)
Parameters
configurationIConfigurationmailTemplateMailTemplatemailContentstringlanguageLanguage