Dim mail As New MailMessage() mail.To = "abc_DL@one.com" mail.From = "strust@one.com" mail.Subject = "This is test mail" SmtpMail.SmtpServer = "smtp.one.com" SmtpMail.Send(mail)
Imports System.Net.Mail Dim mail As New MailMessage() mail.[To].Add(abc_DL@one.com,junkmail@one.com) mail.From = New MailAddress(strust@one.com) mail.Subject =This is test mail to the distribution List mail.Body = This is a test mail.Please ignore Dim smtp As New SmtpClient(smtp.one.com) smtp.Send(mail)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)