View Single Post
  #1 (permalink)  
Old January 4th, 2007, 07:26 PM
_fluffy_ _fluffy_ is offline
Authorized User
Join Date: Oct 2006
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question Re Sending mail in Chapter 3

Hello !

i'm trying to send mail using the Contact.aspx form in Chaper 3.
However, i get the message that there was a problem sending my
mail, and when I print out the Exception message it turns out to be:
"System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: The remote name could not be resolved: '(localhost)'"

So my question is, is the setting in section supposed to be
<network defaultCredentials="true" host="(localhost)" port="25"/>

or should I actually replace the string "(localhost)" with
something more specific ?

i'm not very knowledgable in networking, so i'm not sure how this
whole mail sending process works...should my computer have any
specific settings, like some open ports or something..???

thanks alot for any tips...