1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

sendgrid SetOpenTracking

This commit is contained in:
Kyle Spearrin 2017-11-10 15:12:18 -05:00
parent c42928f26d
commit 2fc54889e3

View File

@ -37,6 +37,7 @@ namespace Bit.Core.Services
};
sendGridMessage.SetClickTracking(true, false);
sendGridMessage.SetOpenTracking(true, null);
sendGridMessage.AddTos(message.ToEmails.Select(e => new EmailAddress(e)).ToList());
if(message.MetaData?.ContainsKey("SendGridTemplateId") ?? false)