General discussion

Locked

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.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

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

Hello,
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.
-Ravi
<amanabala@yahoo.com>

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"
UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library" -->
<!--METADATA TYPE="typelib"
UUID="00000205-0000-0010-8000-00AA006D2EA4"
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..
-Ravi

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

Back to Web Development Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums