1
0
mirror of https://github.com/bitwarden/server synced 2025-12-17 16:53:23 +00:00

backup mail service

This commit is contained in:
Kyle Spearrin
2017-10-30 22:10:40 -04:00
parent 377bf201d0
commit 6e302e06dc
2 changed files with 175 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ namespace Bit.Core.Utilities
public static void AddDefaultServices(this IServiceCollection services, GlobalSettings globalSettings)
{
services.AddSingleton<IMailService, RazorMailService>();
services.AddSingleton<IMailService, BackupMailService>();
services.AddSingleton<ILicensingService, LicensingService>();
if(CoreHelpers.SettingHasValue(globalSettings.Mail.SendGridApiKey))