[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

.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
0
cesemj
Asked:
cesemj
  • 4
  • 3
1 Solution
 
aces4all00Commented:
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
 
cesemjAuthor Commented:
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
 
aces4all00Commented:
Do you know what type of email servers you have?  I may be able to help there.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
cesemjAuthor Commented:
The email server is Smarter Mail server 9,4.
0
 
aces4all00Commented:
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
 
cesemjAuthor Commented:
Thanks for the update, I am working on this and will send an update.
0
 
cesemjAuthor Commented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now