Click to See Complete Forum and Search --> : Help with my form!


Sophie
12-31-2003, 11:39 AM
I made a form here (http://www.usahostels.org/cape/vol.htm) but when you hit submit, you get redirected, but I never get the results back via my email address...they seem to be lost in space.
Can anyone look at my source and tell me what I am doing wrong? My server says that the cgi bin is fine..
help a newbie!

Phil Karras
12-31-2003, 01:14 PM
Thta's too much for me to look at. How are you trying to post the e-mail message?

Are you trying to do it via HTML, JavaScript, Perl, PHP, how?

The most common mistake I've made in Perl is not using the correct mail server for the ISP.
That information you need to get from your ISP.

What is it called? (program name)
Where is it located? (full needed path)

etc.

For various servers these have worked for me: (one for each server)

open(MAIL,"|/var/qmail/bin/qmail-inject -t") || die "Couldn't send mail: ";

open(MAIL,"|/usr/lib/sendmail -odq -t") || die "Couldn't send mail: ";

open(MAIL,"|/usr/sbin/sendmail -odq -t") || die "Couldn't send mail: ";

What it is called and where it is depends on the ISP.