PDA

View Full Version : Form Question.



AussieE
March 6th, 2002, 03:34
This is prolly going to sound really silly, but I've never been able to get a form to e-mail to any address.

form name="reports" action="mailto:you@wherever"
method="post"

Just never works.. Could someone help? I don't really want to have to se a cgi script for it..

Thanks. :)

Kaliber
March 6th, 2002, 03:45
You need a script lol

Jan
March 6th, 2002, 03:48
Then why not provide him with one??? :confused2

meow
March 6th, 2002, 04:05
Should work if you have a default email client configured. You may want to add the MIME type:
<form method="post" action="mailto:you@example.com" enctype="text/plain">

But mailto sucks. Too much can go wrong. You can use a remote service for form mail if you can't/don't want to use your own script. Even Bravenet's works fine. ;)

ac3
March 6th, 2002, 04:53
I use PHP's mail() function, what you do is make a form in normal HTML, then make sure you name all the fields, set the method to get then use any old PHP mailing script. I would write you one, but I'm a bit busy ATM.

meow
March 6th, 2002, 04:59
:rolleyes:
So what's your point?

AussieE
March 13th, 2002, 06:34
I get the feeling I need a script. :p I tired to use a cgi form before, but had some trouble with the chmod bits on my ftp. Maybe Bravenet's the answer. Thanks. ;)

Thanks everyone. And sorry for the delayed reply. Uni and all that crud. :rolleyes:

( She ) :D

Jan
March 13th, 2002, 06:59
Originally posted by AussieE
( She ) :D
Sorry :o I try not to generalise, as I too, am a she and have been called he so many times :confused2

Power to Aussie women!!!!!

jagged pill
March 13th, 2002, 16:15
I use the bravenet script and it works just fine, but there's also a script here...

http://dodo.pitas.com

tutorials-->php-->scripts-->dodos mail

ducktape
March 13th, 2002, 16:37
use php 9 time out of 10 you dont have to chmod. and most things are preconfigured and you just enter your email address. php is way better

Dusty
March 13th, 2002, 16:44
This is fairly well off topic, but why is it that people find "you don't have to CHMOD (most of the time)" a selling point? Is CHMODing really that hard?

AussieE
March 13th, 2002, 17:27
Jan - Hell yeah.. :devious2:

Ooo...Thanks JP. :)

Dusty - Yeah, it is for someone who's never touched on it before. I find Chmod stuff really difficult to do with the software that I have. Either it doesn't work, or I get no response, and in the end it just doesn't work for me. True, I could get some other FTP agent, but to answer your question, yeah, to start with.