Schalk wrote:
Greetings All,

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.";

Thanks!



just look at the MIME  content type of the email that you are sending out:


HTML:
Content-Type: text/html; charset = "iso-8859-1"

Plain Text:
Content-Type: text/plain; charset = "iso-8859-1"

hope this helps.

By the way this gets set in the header.

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

Reply via email to