note 92374 rejected from function.mail by danbrown

From: Date: Tue, 21 Jul 2009 22:34:42 +0000
Subject: note 92374 rejected from function.mail by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158563@lists.php.net to get a copy of this message
Note Submitter: info at talaretejarat dot com ---- hi my code is : $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; $headers .= 'To: '.$email.' <'.$email.'>' . "\r\n"; $headers .= 'From: <'.$from.'>' . "\r\n"; $headers .= 'Reply-To: <'.$from.'>' . "\r\n"; $headers .= "Return-Path: <'.$from.'>' . "\r\n"; $headers .= 'X-Mailer: PHP/' . phpversion(); if(!mail($email,$title,$body,$headers)) print('ok'); but i recive email in spam box (yahoo,gmail). how i can send my email to Inbox Thanks

« previous php.notes (#158563) next »