mirror of
https://github.com/bitwarden/server.git
synced 2024-12-24 17:17:40 +01:00
disable click tracking on plaintext emails
This commit is contained in:
parent
3880edfb79
commit
a71f2198e9
@ -36,6 +36,7 @@ namespace Bit.Core.Services
|
|||||||
PlainTextContent = message.TextContent
|
PlainTextContent = message.TextContent
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sendGridMessage.SetClickTracking(true, false);
|
||||||
sendGridMessage.AddTos(message.ToEmails.Select(e => new EmailAddress(e)).ToList());
|
sendGridMessage.AddTos(message.ToEmails.Select(e => new EmailAddress(e)).ToList());
|
||||||
|
|
||||||
if(message.MetaData?.ContainsKey("SendGridTemplateId") ?? false)
|
if(message.MetaData?.ContainsKey("SendGridTemplateId") ?? false)
|
||||||
|
Loading…
Reference in New Issue
Block a user