
21.07.2009, 16:28
|
|
Постоянный
Регистрация: 02.03.2008
Сообщений: 893
С нами:
9574565
Репутация:
712
|
|
PHP код:
<?php
$to = "Mary <mary@example.com>, " ;
$to .= "Kelly <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
|
|
|