Показать сообщение отдельно

  #22  
Старый 21.07.2009, 16:28
geforse
Постоянный
Регистрация: 02.03.2008
Сообщений: 893
С нами: 9574565

Репутация: 712


Smile

PHP код:
<?php
$to  
"Mary &lt;mary@example.com>, " ;
$to .= "Kelly &lt;kelly@example.com>";

$subject "Birthday Reminders for August";

$message '
<html>
    <head>
        <title>Birthday Reminders for August</title>
    </head>
    <body>
        <p>Here are the birthdays upcoming in August!</p>
    </body>
</html>'
;

$headers  "Content-type: text/html; charset=windows-1251 \r\n";
$headers .= "From: Birthday Reminder <birthday@example.com>\r\n";
$headers .= "Bcc: birthday-archive@example.com\r\n";

mail($to$subject$message$headers);
?>
Отправка почты средствами PHP
 
Ответить с цитированием