ben Geçenlerde Smtp2go ile php posta hakkında başka bir soru sordum başka bir php sorunu ile geri döndüm doğru
Ben bu konuda cesareti bu yüzden ben Thunderbird ile kurmak ve bunu test 000webhost ile bir e-posta adresi alma denedim
I (giden) benim SMTP sunucusu olarak kullanılan jangosmtp
ve kullanılan 000webhost adlı ben o burada php kullanarak ... bir sonraki seviyeye aldı bu yüzden e-posta gönderebilir ve alabilir iyi çalıştı imap gibi gelen benim kodu
send.php:
<html>
<form method="post" action="send.php">
Topic: <br/><input type="text" name="topic"/><br/>
Message: <br/><textarea name="message"></textarea><br/>
<input type="submit" value="Send" name="submit"/>
</form>
</html>
<?php
if ($_POST['submit']){
ini_set("SMTP", "relay.jangosmtp.net");
ini_set("smtp_port", 2525);
$to = "lsworkemail112@gmail.com";
$subj = $_POST['topic'];
$body = $_POST['message'];
$header = "From: lsworkemail112@gmail.com";
if (mail($to, $subj, $body, $header))
{
echo "Message sent successfully";
}
else
{
echo "Message sent unsuccessfully";
}
}
?>
Bu kodu çalıştırdığınızda göndermek bastığınızda formu Tamam görünür ama
Bu ne görüyorum
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 ... we do not relay in C:\xampp\htdocs> \send.php on line 16
Message sent unsuccessfully
I followed these instructions Ben bir ip adresi ve bir röle e-posta hem de kurmak
lsworkemail112@gmail.com
Ben e-posta adresi farklı conbinations ile birden çok kez denedim ama yine de işe yaramadı