Ken Bolton wrote:
> Is there a simple way to send the results of a form to an email address? I
> have created a form with multiple categories of radio boxes and I have
> created a response PHP file that will give the user a confirmation. I'm
> just
> not sure how to send the results through email.
Assemble all of your data into the message body (see $message below) and
mail it to yourself.
How you trigger this processing and the call to the mail() function depends
on how you've constructed your logic.
$message .= $name ."\n";
$message .= $phone . "\n";
$message .= $email;
mail( "[EMAIL P
http://www.php.net/mail
-phpninja
-Original Message-
From: Ken Bolton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 10:11 AM
To: [EMAIL PROTECTED]
Subject: [PHP] email form results
Is there a simple way to send the results of a form to an email address? I
have created a for
3 matches
Mail list logo