We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Not able to add BCC field to email transcript

Hi,

I am trying to add Cc and Bcc field to every MailMessage my code is creating. I am seeing Cc field in .eml file but not Bcc field. Code, which is very basic, looks as follows:

var message = new MailMessage();
message.From.Add(new MailAddress("test@from.com"));
message.CC.Add(new MailAddress("test@cc.com", "test@cc.com"));
message.Bcc.Add(new MailAddress("test@bcc.com"));

I tried to see Bcc Field Test.eml (attached here) in Text Editor and found it doesnt have Bcc field in Header.

Let me know where I am going wrong.

Thanks.

Hi Jason,


Thank you for writing to Aspose support team.

I have tested the above mentioned sample code using latest release Aspose.Email for .NET 4.0.0 and am afraid to share that issue is not reproducible here. I can see the BCC field in EML using text editor as shown in the attached image.

Could you please try this sample code using latest version of Aspose.Email for .NET 4.0.0 and let us know your feedback?