mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
Made a lot of changes around the notifcations to support the custom app name
also started on the welcome email ##1456
This commit is contained in:
parent
8b4c61c065
commit
0cf1aa50e1
21 changed files with 199 additions and 62 deletions
|
@ -17,11 +17,17 @@ namespace Ombi.Notifications
|
|||
CustomizationSettings = s;
|
||||
}
|
||||
private ISettingsService<CustomizationSettings> CustomizationSettings { get; }
|
||||
|
||||
/// <summary>
|
||||
/// This will load up the Email template and generate the HTML
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <param name="settings"></param>
|
||||
/// <returns></returns>
|
||||
public async Task SendAdHoc(NotificationMessage model, EmailNotificationSettings settings)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
var email = new EmailBasicTemplate();
|
||||
|
||||
var customization = await CustomizationSettings.GetSettingsAsync();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue