mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Add CC and BCC to emails
This commit is contained in:
@@ -43,7 +43,7 @@ public class PaymentRequestTriggerProvider(LinkGenerator linkGenerator)
|
||||
context.MatchedRule.GetBTCPayAdditionalData()?.CustomerEmail is true &&
|
||||
MailboxAddressValidator.TryParse(email, out var mb))
|
||||
{
|
||||
context.Recipients.Insert(0, mb);
|
||||
context.To.Insert(0, mb);
|
||||
}
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user