Posted on: 9/4/2012 3:41:30 AM | Views : 509

Guys please help me regarding splitting email if i have three emails , the 3 emails will receive each..
'TRYING TO SPLIT THE EMAIL Dim emailss As String = lblEmail.Text ----HEre the variable emailss = to three emails forums@yahoo.com; forums123@yahoo.com; forums65@live.com Dim strarr() As String Dim count As Integer Dim SmtpServer As New SmtpClient() Dim mail As New MailMessage() SmtpServer.Port = 25 SmtpServer.Host = smtpToUse mail = New MailMessage() mail.From = New MailAddress("mailagent@starcruises.com") 'TRYING TO SPLIT THE EMAIL mail.To.Add(emailss) For Each emailss In strarr.ToString.Split(",") MsgBox(strarr(count)) Next mail.Subject = "Test 101 mail.Bod ...

Go to the complete details ...