Web Development

General discussion


ASP form results email automation

By clacy ·
I have an asp form that gathers info from a user and posts to an Access database. This form is supposed to email form results when the submit button is clicked, but this is not working. Can anyone point me in the right direction? I have this statement in my form - <form method="post" action="feedback.asp" onSubmit="" webbot-action="--WEBBOT-SELF--"><!--webbot.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by amanabala In reply to ASP form results email au ...

You may want to check the ASP file "feedback.asp" for code to send the email. If you would like to, I can look at the code for you. Please let me know.

Collapse -

by amanabala In reply to

If it worked on NT, you probably used CDONTS as the other member pointed out. You will need to change it to CDO. Here is the object definition for CDO..
<!--METADATA TYPE="typelib"
NAME="CDO for Windows 2000 Library" -->
<!--METADATA TYPE="typelib"
NAME="ADODB Type Library" -->
There are lots of sample code out there if you would like, I can email you the code I am using to send emails from my ASP pages..

Collapse -

by clacy In reply to ASP form results email au ...

Yes, the feedback.asp page seems to have the code it needs to do the job - it has worked in the past until we moved our webserver from NT to 2003. I've configured the FrontPage 2002 Server Extensions as best I know how for SMTP, but it still doesn't work. Any suggestions from this point would be greatly appreciated.

Collapse -

by ross.bale In reply to ASP form results email au ...

Check the asp file for the CreateObject string which will tell you what your site is using to send email, if you were working fine on NT then it's probably CDONTS as it came with NT, it's not, however installed as default on 2003. You can add it back in by copying from the NT server and registering it onto the 2003 server, see the following webpage for info. http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/iisdg_dep_tnoc.asp

Related Discussions

Related Forums