Solved

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

Posted on 2014-04-13
7
363 Views
Last Modified: 2014-04-13
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
0
Comment
Question by:cesemj
  • 4
  • 3
7 Comments
 
LVL 3

Expert Comment

by:aces4all00
ID: 39997586
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.
0
 

Author Comment

by:cesemj
ID: 39997608
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.
0
 
LVL 3

Expert Comment

by:aces4all00
ID: 39997616
Do you know what type of email servers you have?  I may be able to help there.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:cesemj
ID: 39997630
The email server is Smarter Mail server 9,4.
0
 
LVL 3

Accepted Solution

by:
aces4all00 earned 500 total points
ID: 39997663
While it's not one I'm familiar with SmartMail does have some pretty good documentation online.  Your server's IP probably just needs to be whitelisted.  Have your acting administrator check out http://help.smartertools.com/SmarterMail/v9/Default.aspx?qq=%2fSmarterMail%2fv9%2fTopics%2fSystemAdmin%2fSecurity%2fBlacklistWhitelist.aspx

Good luck
0
 

Author Comment

by:cesemj
ID: 39997664
Thanks for the update, I am working on this and will send an update.
0
 

Author Comment

by:cesemj
ID: 39997720
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.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now