php mail() fonksiyonu ile mail yollarken
Warning: mail(): SMTP server response: 550 5.7.1 <
xxx@xxx.com>... we do not relay <> in
bu hatayı alıyorum
plesk ten yeni kullanıcı açtığımda kullanıcıya mail gitmesi gerekirken gene bu hatayı alıyorum.
domainlere eposta açınca pleskten böyle bi sorun yok birbirlerine mail alıp gönderebiliyorlar sadece mail() fonk. çıkıo sanırım bu sorun
php.ini mail ayarları bu şekilde
[mail function]
; For Win32 only.
SMTP = localhost SMTP = smtp.xxx.com da yaptım olmadı
smtp_port = 25
; For Win32 only.
sendmail_from =
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
$headers = "From: ad soyad<xxx@xxx.com> \n";
$headers .= "X-Sender: <xxx@xxx.com>\n";
$headers .= "X-Mailer: ad soyad\n";
$headers .= "X-Priority: 0 \n";
$headers .= "Return-Path: <xxx@xxx.com>\n";
$headers .= "In-Reply-To: <xxx@xxx.com>\n";
$headers .= "Reply-To: <xxx@xxx.com>\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: text/html; charset=windows-1254\n";
$baslik = "mesajınız var!";
$mesaj = "Merhaba,<br><br>";
mail($u_mail, $baslik, $mesaj, $headers);
kodumda bu şekilde