p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4.5 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=710)
-   -   Email deployment issue (http://p2p.wrox.com/showthread.php?t=90575)

vbboyd July 22nd, 2013 11:15 PM

Email deployment issue
 
I don't know if you know this or not, but I used the application from the book as a blueprint for a E-commerce website for demonstration purposes only for upcoming job interviews. Everything is working just fine except the contact form part. That is totally just hosing out and is not working. That part works just fine from my side of the equation when I run it locally on my home PC, but when I deploy the application to the web hosting server, that part just totally chokes up and does not work. None of the email notifications are working. I was just wondering what can be done to fix this?
I noticed the material on pages 732-38 about the appsettings stuff, but I didn't not make those changes or modifications to my application on my local home PC when I uploaded and the application to the actual production application server. I thought that if the email stuff could run properly on my side at home on my home PC that it should work also just as fine and well when you uploaded the application to the actual remote production server. Unfortunately, such is not the case. It seems to be having problems.

Thanks once again.

Oleg Kolpashchikov July 25th, 2013 06:45 PM

<mailSettings>
 
What's in your web.config in <system.net><mailSettings>?

You may want to make sure that the following settings are correct:

<smtp deliveryMethod="network" from="...">
<network
clientDomain="..."
host="..."
userName="..."
enableSsl="true/false"

Imar July 30th, 2013 01:51 PM

The section "Configuring Your Website for Sending E-mail" on page 334 has all the details. You'll need to talk to your host for the specific configuration information such as the mail server and account data.

Cheers,

Imar


All times are GMT -4. The time now is 10:54 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.