mail problem with yahoo
Posted: Wed Jan 16, 2008 2:20 am
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
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);
?>