We recently setup a new Server 2012 R2 server with the single purpose of running IIS for our B2B site. Our software vendor was responsible for installing IIS and migrating the data from the old webserver and getting it up and running which they did however there is a small issue were seeing. Each time a customer places and order on our B2B site, after they click “checkout” they should be automatically be emailed a receipt. Instead they see a page that says
“Server Error in ‘/’ Application.”
“No connection could be made because the target machine actively refused it 127.0.0.1:587”
I contacted the software company and they said to make sure the SMTP setting were valid in the web.config file and I did. I created a new Gmail account for my client and tried using smtp.gmail.com (ports 587 and 465). That did not work. Next I tried using our Rackspace SMTP settings “secure.emailsrvr.com” (ports 465 and 587) which did not work as well. I was able to use telnet to both of those SMTP server and receive a 250 message which means that it’s ok and not being blocked. After about two hours they said that since both those SMTP settings work on their end and in Outlook that it must be something wrong with our IIS installation and that it may have to be re-installed. The irony is that they installed IIS for us. So we left off that we would both search online for a better answer to see if we come up with something. Not sure what else to try as I am not as too familiar with IIS. Looking for suggestions.