Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am need to make a web form on one of my company websites and have it email it and save the information to an excel spread sheet. I have made a form but I am working on sending the email now and I have found this script. There was a smtp server already installed on the server before I got here so i made an entry for the website but I don't think i know how to configure the script to access the server. When i run my form i get an error saying "Email send failed: The transport failed to connect to the server". For the smtpserver in the script I put my internal ip address. Is the server name that would go there or do i just have the smtp server set up wrong?

share|improve this question

1 Answer 1

To ensure smtp is working properly on the server, start telnet from the Command Prompt (cmd.exe) and follow Microsoft's example to test connecting to local smtp server and sending to your email address.

There's a LOT to setup if you want to send email from your server to an internet email address, including proper DNS A, MX, PTR, etc. Even if you were able to send the email, without the proper DNS config you email would just be caught as spam. That question has been answered here many times btw.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.