I am trying to send an email to a few people, and want to keep their email addresses private from one another. I enter their addresses into the BCC field, but when the email is sent, the email clearly shows everyones email address! (ie: BCC is not blind)
Any ideas why it's doing this? All of my test emails come back with the TO line full of every email address i added to the BCC field! Here's the code:
Code:Dim msg As New System.Net.Mail.MailMessage Dim smtp As New System.Net.Mail.SmtpClient With msg .From = New System.Net.Mail.MailAddress("from@email_address.com") .Bcc.Add(New System.Net.Mail.MailAddress("to_person1@email_address.com")) .Bcc.Add(New System.Net.Mail.MailAddress("another_person@email_address.com")) .Subject = "my email subject" .IsBodyHtml = False .Body = "my email body" .Headers.Add("Importance", "Normal") End With With smtp .Host = "MY_EMAIL_SERVER" .Send(msg) End With




Reply With Quote