Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 2nd, 2009, 07:12 PM
Authorized User
 
Join Date: Apr 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down Email not working on remote server

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 &lt;[email protected]&gt;">
<
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.
 
Old December 3rd, 2009, 09:24 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You'll need to talk to GoDaddy (or look in their documentation / FAQs) for the correct mail settings. You probably need to use a different mail server and user ID (the ones from GoDaddy).

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 3rd, 2009, 09:32 AM
Authorized User
 
Join Date: Apr 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Email not working on remote server

Imar,

Thanks for taking the time to answer my question.

I got it to work after hours of frustration. GoDaddy has a special server for sending email from your web site. Something they don't make public.

Again, Thanks!





Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Express and SQL server on remote server questio HoosierDaddy61 Visual Basic 2005 Basics 0 February 22nd, 2006 11:27 AM
connecting web server and remote db server via asp moreyt Classic ASP Databases 0 May 31st, 2005 12:13 AM
Linking Remote Sql Server with Web server yeetesh Pro VB Databases 1 May 26th, 2005 04:13 AM
remote debugging not working neethling VS.NET 2002/2003 1 November 16th, 2004 02:38 AM
stored proc working local and not remote jazzlover2002 SQL Server 2000 3 October 25th, 2003 02:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.