Active Server Pages Programming (ASP)/Form to Mail issue!
Expert: Srini Nagarajan - 3/16/2005
QuestionHello!
My name is Assaf Lasry and I have a problem in building a form to mail page. I have built a web page (using dreamweaver and ASP and the form to mail code uses ASP) that has a form to mail capability. I have set up my form and whenever I click on the "send Mail" button that's on the form, a "thank you" page suppose to appear, which it does. The only problem is that I have tested the form to send an email to my email account and I have not received anything. Does it have to do with the fact that I am developing and testing everything locally on my machine? If so, how can I test it on my machine. And if not, what should I do in order to find out if it works properly?
Please, I appreciate your help,
Assaf!
AnswerHI
if your mail is not leaving the queue folder, check out
make sure SMTP Virtual Server is running in Internet Services Manager
check the event log for SMTP Service events
turn on logging for your SMTP server, to see if the mail is even being attempted to be sent to the server
restart the SMTP Service (or IIS altogether), and if that fails reboot the server, to see if this clears up the backlog
make sure you are sending from / to a valid address / domain
check the server itself by setting up outlook express on the machine, using the same settings, and attempting to send mail
if the machine is behind a firewall/router, make sure it has access to port 53
did you define the server name on the ASP code?
Hope this helps
Happy Programming!
-Srini