Solved

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

Posted on 2014-04-13
7
367 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
This video teaches users how to migrate an existing Wordpress website to a new domain.

775 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