[KOE-23] Fixed for multiple BCC recipients
This commit is contained in:
parent
7a5e21c49b
commit
d8b09c1d9d
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue