Solved

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

Posted on 2014-04-13
7
370 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

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.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

827 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