I'm not sure if this is the right place to post my question, but Imar has answered all other questions so graciously.
I used the Planet Wrox code as a skeltyon for my web site and everything works fine on the local server.
I have godaddy hosting the site with email accounts. When I test it on the local server all works fine. I can send email from the contact form and sign-up form. On godaddy neither work. I used the same code in the contact form from the book and get the error message encoded in the try statement.
Here's my mail settings form the web.config file
<mailSettings>
<smtpdeliveryMethod="Network"from="Orders JB Hardwood <[email protected]>">
<network
defaultCredentials="true"
port="25"
host="smtpout.secureserver.net"
userName="[email protected]"
password="vette99"/>
</smtp>
</mailSettings>
Thanks in advance for any help you can provide.