Hi,
Trying to send an email through asp.net 2.0
Here is the error message. Any ideas please?
Does this mean that the mail exchange server that I have provided is incorrect?
"Unable to connect to the remote server"
Here is what I am basically doing:
' Configure mail client (may need additional
' code for authenticated SMTP servers)
Dim mailClient As New SmtpClient(ncspConfiguration.MailServer)
' Create the mail message
Dim mailMessage As New MailMessage(from, [to], subject, body)
' Send mail
mailClient.Send(mailMessage)