954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

send email

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)

fmardani
Newbie Poster
6 posts since Dec 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You