Something like...

$body  = "blah blah blah\n";
$body .= "Name = $name\n";
$body .= "Address = $address\n";
$body .= "Comments = $comments\n";

mail("[EMAIL PROTECTED]", "subject", $body);

would do it.

On Tue, 28 Jan 2003, Bruce Levick wrote:

> I have a number of field entries that I am trying to send through to the
> body of an email.
>
> How can I format the mail() command to send these multiple fields.
>
> EG $name, $address, $comments. All to go into the body of an email.
>
> Cheers
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to