Not sure what your intentions are, but you can also send the form data from
ANY form by putting the mailto:[EMAIL PROTECTED] statement in the action
property of the form and using the POST method (I don't think it'll work
You'll generate an e-mail with an attachment that contains your data in
name=value pairs and you'll have to parse through the file to get the
individual values. I tried it with one of my forms and got this in the
Note: The names itemList were submitted from a multiple select object.
Whether you use the php mail() function or plain, old HTML mailto: is up to
you and your specific needs. My guess, having never used php's mail() is
that you'll get a little more functionality/flexibility from it. As always,
your mileage may vary.
> -----Original Message-----
> From: tuxen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 03, 2002 1:27 PM
> To: PHP Database List
> Subject: Re: [PHP-DB] Sending E-Mail
> just put the variables from the form into the mail() function
> On Wed, 2002-10-02 at 23:11, Shoulder to Shoulder Farm wrote:
> > Sorry all, this IS off topic, but I always receive faster
> answers from
> > this group :-o!
> > How can I send e-mail from PHP with the content of a submitted form.
> > Thanks, Taj
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php