My code :
Dim smtpmail As New Net.Mail.SmtpClient("127.0.0.1")
Dim msg As New Net.Mail.MailMessage()
msg.From = New Net.Mail.MailAddress("(e-mail address removed)")
msg.To.Add("(e-mail address removed)")
msg.Subject = "this is a test"
msg.Body = "this is mail body ,thanks !"
smtpmail.Send(msg)
I can't understand you, what is smart host ,cox.net?
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.