Auto mail on feedback page?

They have: 5,633 posts

Joined: Jan 1970

I have constructed a feedback page that I would like to be automatically mailed to an email address when the user clicks the submit button. I have been unable to accomplish this so far. I am coding in HTML, JavaScript, and VBScript.

They have: 5,633 posts

Joined: Jan 1970

What you need to do is find out if your server provides a form cgi script, most of them do. If they do they should have instrucions on they're site. If not, see if you can write cgi scripts to use on your site, if so you can write your own cgi form script in Perl or use a ready made one from a cgi scipt 'cut-and-paste' code site.

Hope this makes sense, cos I'm a bit drunk

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

Do you have a sample of the page?

------------------
Jack Michaelson
[email protected]
! Click here for my profile !

They have: 89 posts

Joined: Sep 1999

To accomplish this easily you need to have some sort of server side language that can process the form for you. This is most commonly done with cgi scripts although I use coldfusion myself for this and, although I don't know for sure, I suspect that ASP may have similiar capabilities. Some servers don't allow cgi scripts or just don't provide the service. If you are allowed to set up cgi scripts on your server then you are set because there are a ton of free scripts out there. Just do a search for form to email scripts. If you can't set up a script to do this then you can use a remotely hosted cgi script on another computer. There are several free remotely hosted scripts also.

Note: I said to easily accomplish this use the above. If you want more trouble try looking into java servlets or the few java applet form mailers that exist. The applets are hard to find and very hard to configure. Anyway, hope this helps a little.

Jaiem's picture

They have: 1,191 posts

Joined: Apr 1999

Tom I've done some of my best programming when I'm "feeling no pain"

You're right, the script form.cgi (there's also something similar but I forgot the name at the moment) works great.

------------------
ArtsNFlies.com
Original art, hand tied flies, unique books and gifts, free sweepstakes and MORE!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.