";
/* subject */
$subject = "Birthday Reminders for August";
/* message */
$message = \'
Birthday Reminders for August
Here are the birthdays upcoming in August!
Person | Day | Month | Year |
---|
Joe | 3rd | August | 1970 |
Sally | 17th | August | 1973 |
\';
/* To send HTML mail, you can set the Content-type header. */
$headers = "MIME-Version: 1.0\\r\\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\\r\\n";
/* additional headers */
$headers .= "From: Birthday Reminder \\r\\n";
$headers .= "Cc: [email]birthdayarchive@example.com[/email]\\r\\n";
$headers .= "Bcc: [email]birthdaycheck@example.com[/email]\\r\\n";
/* and now mail it */
mail($to, $subject, $message, $headers);
тебя должны интересовать поля
$headers = "MIME-Version: 1.0\\r\\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\\r\\n";
Или нет, одно поле
$headers .= "Content-type: text/plain; charset=iso-8859-1\\r\\n";
Взято из http://www.php.net/manual/en/function.mail.php