Free Support Forum - aspose.com

Aspose MailMessage or SmtpClient doesn't send email when BCC is used

Hi,

We are using Aspose.Network v4.5.0.0 from the latest Aspose.Total for .NET

In our software we want to send an email to one or more recipients. When we add BCC recipients to the email and send it none of the recipients (to,cc,bcc) ever receives the mailmessage. So To and CC will work fine, BCC will make the email to never be received/sent.

My code (sorry for the extra lines):

MailMessage msg = new MailMessage();

msg.Subject = "hi subject";

msg.TextBody = "hi body";

msg.From = new MailAddress("myname@mydomain.nl", "Jan Stolk");

msg.To = "myname@mydomain.nl";

msg.CC = "hisname@mydomain.nl";

//When this line is uncommented, no mail is ever received/send??

//msg.Bcc = "hername@mydomain.nl";

SmtpClient smtp = new SmtpClient("192.168.0.2", 25);

smtp.AuthenticationMethod = SmtpAuthentication.None;

smtp.Send(msg);

Kind regards and thanks in advance,

Jan Stolk.

Hi Jan,

Thanks for considering Aspose.

Could you please try the latest hotfix v 4.8.1 from http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/default.aspx. It should send emails to all the recipients including to, cc and bcc.