Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   PHP, PERL, MySQL, JavaScript (https://forum.antichat.xyz/forumdisplay.php?f=37)
-   -   Вопрос по отправке писем (https://forum.antichat.xyz/showthread.php?t=157481)

kdk 18.11.2009 15:09

Вопрос по отправке писем
 
Есть в инете дофига примеров на php по отправке писем. типа
<?php
$to = "Mary &lt;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 их блокирует или до него не доходит я хз! можете подсказать как можно отправлять письма нормально?
Зарание спс

b3 18.11.2009 16:15

http://ua2.php.net/manual/en/mail.requirements.php
Цитата:

PHP must have access to the sendmail binary on your system


Время: 18:35