send email

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2004
Posts: 6
Reputation: fmardani is an unknown quantity at this point 
Solved Threads: 0
fmardani fmardani is offline Offline
Newbie Poster

send email

 
0
  #1
Apr 26th, 2006
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)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC