kdk
18.11.2009, 15:09
Есть в инете дофига примеров на php по отправке писем. типа
<?php
$to = "Mary <vasua@ya.ru>, " ;
$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);
?>
Я пробывал их на yandex.ru их блокирует или до него не доходит я хз! можете подсказать как можно отправлять письма нормально?
Зарание спс
<?php
$to = "Mary <vasua@ya.ru>, " ;
$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);
?>
Я пробывал их на yandex.ru их блокирует или до него не доходит я хз! можете подсказать как можно отправлять письма нормально?
Зарание спс