mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
New mail services and implementations
This commit is contained in:
@ -49,7 +49,9 @@ namespace Bit.Core.Utilities
|
||||
|
||||
public static void AddDefaultServices(this IServiceCollection services)
|
||||
{
|
||||
services.AddSingleton<IMailService, SendGridMailService>();
|
||||
//services.AddSingleton<IMailService, SendGridTemplateMailService>();
|
||||
services.AddSingleton<IMailService, RazorMailService>();
|
||||
services.AddSingleton<IMailDeliveryService, SendGridMailDeliveryService>();
|
||||
services.AddSingleton<IPushNotificationService, NotificationHubPushNotificationService>();
|
||||
services.AddSingleton<IBlockIpService, AzureQueueBlockIpService>();
|
||||
services.AddSingleton<IPushRegistrationService, NotificationHubPushRegistrationService>();
|
||||
|
Reference in New Issue
Block a user