[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
1 changed files with 5 additions and 2 deletions

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;
}
} }
} }
} }