Re: mail () format
| From: | Philip Hallstrom | Date: | Tue, 28 Jan 2003 00:04:04 +0000 |
| Subject: | Re: mail () format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133320@lists.php.net to get a copy of this message | ||
Something like...
$body = "blah blah blah\n";
$body .= "Name = $name\n";
$body .= "Address = $address\n";
$body .= "Comments = $comments\n";
mail("someon@somewhere.com", "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
>
>