mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
This commit is contained in:
parent
4926255094
commit
2976e87cc5
2 changed files with 3 additions and 3 deletions
|
@ -455,7 +455,7 @@ namespace Ombi.Services.Jobs
|
|||
|
||||
if (!testEmail)
|
||||
{
|
||||
var users = UserHelper.GetUsersWithFeature(Features.RequestAddedNotification);
|
||||
var users = UserHelper.GetUsersWithFeature(Features.Newsletter);
|
||||
if (users != null)
|
||||
{
|
||||
foreach (var user in users)
|
||||
|
|
|
@ -244,9 +244,9 @@ namespace Ombi.Services.Notification
|
|||
var email = new EmailBasicTemplate();
|
||||
var html = email.LoadTemplate(
|
||||
$"Ombi: {model.Title} is now available!",
|
||||
$"Hello! You requested {model.Title} on PlexRequests! This is now available on Plex! :)",
|
||||
$"Hello! You requested {model.Title} on Ombi! This is now available on Plex! :)",
|
||||
model.ImgSrc);
|
||||
var body = new BodyBuilder { HtmlBody = html, TextBody = $"Hello! You requested {model.Title} on PlexRequests! This is now available on Plex! :)" };
|
||||
var body = new BodyBuilder { HtmlBody = html, TextBody = $"Hello! You requested {model.Title} on Ombi! This is now available on Plex! :)" };
|
||||
|
||||
var message = new MimeMessage
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue