G
Grant
When I tried to send the eMail using the smtp. I get "The transport failed to connect to the server. " I am not sure where to start to touble shoot this? Any idea?
THe codes is
Dim message As New MailMessage()
With message
..BodyFormat = MailFormat.Html
..To = RecipientList
..Cc = MessageFrom
..Subject = MessageSubject
..From = MessageFrom
..Body = MessageBody
End With
SmtpMail.SmtpServer = "localhost"
SmtpMail.Send(message)
THe codes is
Dim message As New MailMessage()
With message
..BodyFormat = MailFormat.Html
..To = RecipientList
..Cc = MessageFrom
..Subject = MessageSubject
..From = MessageFrom
..Body = MessageBody
End With
SmtpMail.SmtpServer = "localhost"
SmtpMail.Send(message)