mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-28 02:22:37 -04:00
Last PR before Release (#2692)
This commit is contained in:
@@ -246,10 +246,15 @@ public class EmailService : IEmailService
|
||||
};
|
||||
email.From.Add(new MailboxAddress(smtpConfig.SenderDisplayName, smtpConfig.SenderAddress));
|
||||
|
||||
// Inject the body into the base template
|
||||
var fullBody = UpdatePlaceHolders(await GetEmailBody("base"), new List<KeyValuePair<string, string>>()
|
||||
{
|
||||
new ("{{Body}}", userEmailOptions.Body)
|
||||
});
|
||||
|
||||
var body = new BodyBuilder
|
||||
{
|
||||
HtmlBody = userEmailOptions.Body
|
||||
HtmlBody = fullBody
|
||||
};
|
||||
|
||||
if (userEmailOptions.Attachments != null)
|
||||
|
||||
Reference in New Issue
Block a user