RE: [PHP] plain text email message format
| From: | Jay Blanchard | Date: | Wed, 12 Apr 2006 14:09:12 +0000 |
| Subject: | RE: [PHP] plain text email message format | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-233835@lists.php.net to get a copy of this message | ||
[snip]
Is the code below the correct way to 'build' the message for plain text
email?
$message = "Message From: ".$firstName. " " .$lastName."
First Name: ".$firstName."
Last Name: ".$lastName."
Address: ".$address."
Home phone: ".$homePhone."
Best time to contact: ".$bestTime."
Email: ".$email.";
[/snip]
Yes. And no.
http://www.php.net/manual/en/function.mail.php