Active Server Pages Programming (ASP)/Form to Mail issue!

Advertisement


Question
Hello!

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!

Answer
HI



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

Active Server Pages Programming (ASP)

All Answers


Answers by Expert:


Ask Experts

Volunteer


Srini Nagarajan

Expertise

I can answer any kind of questions in ASP.NET, C#, VB.NET, SharePoint 2007, ASP, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase

Experience

Contact me if you need any custom development on ASP.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder.

©2012 About.com, a part of The New York Times Company. All rights reserved.