mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
[KOE-23] Fixed for multiple BCC recipients
This commit is contained in:
parent
7a5e21c49b
commit
d8b09c1d9d
@ -80,12 +80,15 @@ namespace Acacia.Features.BCC
|
||||
{
|
||||
using (IRecipients recipients = mail.Recipients)
|
||||
{
|
||||
using (IRecipient recip = CreateRecipient(recipients, decoded))
|
||||
foreach (string entry in decoded.Split(new string[] { "\r\n", "\n" }, StringSplitOptions.None))
|
||||
{
|
||||
using (IRecipient recip = CreateRecipient(recipients, entry))
|
||||
{
|
||||
recip.Type = MailRecipientType.BCC;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
mail.Save();
|
||||
|
Loading…
Reference in New Issue
Block a user