1

I am looking to add BCC mail feature in the following code. How can I make changes in the following code to send an auto email to more than one email's

    Dim SMTPServer As New SmtpClient()
    Dim Mail As New MailMessage()
    SMTPServer.Credentials = New Net.NetworkCredential(" ")
    SMTPServer.Port = 587
    SMTPServer.Host = " "

    Mail = New MailMessage
    Mail.From = New MailAddress(" ")


    Mail.To.Add(dr("").ToString)

    Mail.Subject = "Patient Assignment"
    Mail.Body = "   "



    SMTPServer.Send(Mail)
user1764540
  • 67
  • 1
  • 8

0 Answers0