yahoo smtp kullanarak php postalar göndermek istediğiniz [yinelenen]

0 Cevap

Possible Duplicate:
sending mails in php using yahoo smtp

("class.phpmailer.php") gerektirir; $ Mail = new PHPMailer ();

$ Mail-> IsSMTP ();

$ Mail-> SMTPAuth = true; / / SMTP kimlik doğrulamasını etkinleştirmek

$ Mail-> SMTPSecure = "ssl";

$ Mail-> Host = "plus.smtp.mail.yahoo.com";

$ Mail-> Port = 465; / / SMTP bağlantı noktasını ayarlayın

$ Mail-> Username = "sumthing@yahoo.com";

$ Mail-> Password = "şifre";

$ Mail-> = "sumthing@yahoo.com" Kimden;

$ Mail-> FromName = "myname";

$ Mail-> AddAddress ("you@example.com");

$ Mail-> Subject = "Test PHPMailer Mesaj";

$ Mail-> Body = "Hi! \ N \ n Bu phpMailer_example3.php ile gönderildi.";

if (! $ mail-> Send ()) {

echo 'İleti gönderilemedi.';

'Mailer hatası:' echo. $ Mail-> ErrorInfo;

{} Else

echo 'Mesaj gönderildi.';

}>

Vadede sonra gösteriyor:

SMTP Hatası: doğrulama yapılamadı. İleti sent.Mailer hatası değildi: SMTP Hatası: doğrulama yapılamadı. SMTP sunucu hatası:

hata vardı olduğunu?

0 Cevap