mirror of
https://github.com/bitwarden/server
synced 2025-12-22 03:03:33 +00:00
amazon ses mail delivery service
This commit is contained in:
@@ -58,9 +58,9 @@ namespace Bit.Core.Services
|
||||
}
|
||||
|
||||
var cats = new List<string> { "Bitwarden Server" };
|
||||
if(message.MetaData?.ContainsKey("SendGridCategories") ?? false)
|
||||
if(!string.IsNullOrWhiteSpace(message.Category))
|
||||
{
|
||||
cats.AddRange(message.MetaData["SendGridCategories"] as List<string>);
|
||||
cats.Add(message.Category);
|
||||
}
|
||||
sendGridMessage.AddCategories(cats);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user