1
0
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:
Patrick Simpson 2017-07-31 10:13:55 +03:00
parent 7a5e21c49b
commit d8b09c1d9d

View File

@ -80,9 +80,12 @@ namespace Acacia.Features.BCC
{ {
using (IRecipients recipients = mail.Recipients) using (IRecipients recipients = mail.Recipients)
{ {
using (IRecipient recip = CreateRecipient(recipients, decoded)) foreach (string entry in decoded.Split(new string[] { "\r\n", "\n" }, StringSplitOptions.None))
{ {
recip.Type = MailRecipientType.BCC; using (IRecipient recip = CreateRecipient(recipients, entry))
{
recip.Type = MailRecipientType.BCC;
}
} }
} }
} }