Page 1 of 1

mail problem with yahoo

Posted: Wed Jan 16, 2008 2:20 am
by hannnndy
hi friends,

Recently I have a grate problem with yahoo mail I'm using the following code to mail to my sites member bud my mails go to the bulk of the yahoo I want to know how to solve my problem
I just want my mails to go to the inbox of the users mention that I'm not a spammer

Code: Select all

<?php
$to      = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@example.com' . "\r\n" .
    'Reply-To: webmaster@example.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();
 
mail($to, $subject, $message, $headers);
?>

Re: mail problem with yahoo

Posted: Wed Jan 16, 2008 4:02 am
by devendra-m
I think its because of smtp connection problem

Re: mail problem with yahoo

Posted: Wed Jan 16, 2008 6:33 am
by hannnndy
have you any idea to solve this problem?
using IMAP classes or something like that

thanks

Re: mail problem with yahoo

Posted: Wed Jan 16, 2008 6:37 am
by Kieran Huggins
I think swiftmailer has the spam issue fairly well sorted, if I'm not mistaken.