Link to home
Start Free TrialLog in
Avatar of cesemj
cesemj

asked on

.Net Web App Not Sending a confirmation E-mail after the Submit button is clicked

Hi

Platform
-----------
Win2008 R2
Asp .net: C#
Visual Studio 2008, and 2013


I have a webApp that allows individuals to register for educational training.  webUsers can click on links to view pdf and if the want to register for a training course, hey fill out:  1) a training form; 2) click the submit button when finished; 3) after clicking the submit button, their information is submitted into the DB; 4) an confirmation email is sent to the user and webApp Registrar.  

The problem
After the information is submitted into the DB, no emails are generated.  It use to take about 1 - 3 seconds to display the confirmation page, now it takes about 30 - 60 seconds is that.  It seems like it hangs when it is executing the send email logic.  The problems seems like the app but I am not sure.


Did anything change

Yes, the IT department moved the server to a different network: The old IP is 192.168.16.56 and the new ip is 10.10.36.11. users can send and receive emails from the mailserver to my outlook client on the server without issues.  I checked the firewall and no issues.  It seems like the problem is limited to the webApp.  I checked DNS and IIS and the IT guys changed all the old IPS to the new IPs.  I am thinking there has to be another setting, maybee in IIS, visual studio to cause the web app to not send an email.  Please Help!!!

The attachment contains the web.confg and SignUpForm_aspx_cs text files.

Thanks in advance
webforms.zip
Avatar of aces4all00
aces4all00

Was it the application server or the email server that was moved?  Most email servers filter IPs they're allowed to receive SMTP client transmissions from and the new IP may not be on the list.  I'd check with your email administrators.
Avatar of cesemj

ASKER

Thanks for the response: The application, database email server applications sit on the same host.  The email administrator left the company and did not leave any notes. I made a test page to send an email after clicking submit and it is doing the same thing.  I will keep researching the internet about filtering IPs.
Do you know what type of email servers you have?  I may be able to help there.
Avatar of cesemj

ASKER

The email server is Smarter Mail server 9,4.
ASKER CERTIFIED SOLUTION
Avatar of aces4all00
aces4all00

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cesemj

ASKER

Thanks for the update, I am working on this and will send an update.
Avatar of cesemj

ASKER

Thanks, after adding the IP to the white list I went to try sending a email via command line and discovered that the mail server DNS was incorrect because it was pointing to the public.  Thanks for your help - your solution helped me perform additional trouble shooting.