Hey all at the moment I have a line like this in my script
myHtmlMessage = New MailMessage("firstname.lastname@example.org", Row.email, "weqweq", emailText)
But how can i add some bcc emails ?
View Complete Post
Turn boring data into stunning graphs, create, parse, send, and receive mail messages from code, and more.
MSDN Magazine August 2007
Here is my code
Dim message As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage() message.To.Add("from textbox field") message.Subject = "Testing" message.From = New System.Net.Mail.MailAddress("sender email ") message.Body = "Just Testing" Dim smtp As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient() Dim client As SmtpClient = New SmtpClient() smtp.Credentials = New System.Net.NetworkCredential("username", "password") smtp.Port = 25 smtp.Host = "smtp.gmail.com" smtp.EnableSsl = True smtp.DeliveryMethod = SmtpDeliveryMethod.Network lblmsg.Text = "Your Email has send" Try &
I need to send the same mail to multiple users separately. I dont want to use comma delimeted "To Address" . Because other users can able to see the recipients.
Each recipient should not know about the other recipients.
How will I achieve this one without for loop ?