Page 1 of 1

E-Mail form

Posted: Tue Nov 30, 2004 7:52 pm
by irishmike2004
I am moving onward as we develop this site I am working on and I was curious if anyone has ever done some e-mail formatting from an online form and had some good ideas for coding this... instead of doing CGI or Perl for example to make the mail nice.

I know how to do forms, but would need the action part and how we can "parse " the information on the form before mailing it to our address.

Help is really appreciated.

Thanks,

Posted: Tue Nov 30, 2004 8:18 pm
by rehfeld
can you be more specific?

Posted: Tue Nov 30, 2004 8:20 pm
by irishmike2004
We will be making a standard e-mail form with subject and message hidden e-mail to address and wanted to make the data from the form look pretty and then send it out. normal output is something like please+send+information... etc

Looking to do something without CGI.

Posted: Tue Nov 30, 2004 8:27 pm
by rehfeld
are you asking how to send emails w/ php?

can you give an example? im having a hard time understanding what you want...

Posted: Tue Nov 30, 2004 8:30 pm
by irishmike2004
I am asking how to make a web form send nicely formatted output to an e-mail ... like if I go to a page and pick contact and click on e-mail and then they give a web form that sends the e-mail to them... I have a form, but normally you send these things through some kind of CGI script to get cleaned up then it goes out the mail server... I believe... so yes, I am looking to send e-mail from PHP.

Posted: Tue Nov 30, 2004 8:30 pm
by John Cartwright
check out [php_man]mail[/php_man]

Posted: Tue Nov 30, 2004 8:33 pm
by irishmike2004
Thanks that will help me :-)

Posted: Wed Dec 01, 2004 3:21 am
by djot
-
normal output is something like please+send+information... etc
If this is what your form sends back, I guess you use method=get, use method=post instead.

Code: Select all

<FORM METHOD="POST" ACTION="script.php">...
djot
-