RE: [PHP] I have a problem In Mail Function

From: Date: Mon, 15 Mar 2004 20:41:05 +0000
Subject: RE: [PHP] I have a problem In Mail Function
Groups: php.general 
Request: Send a blank email to php-general+get-180490@lists.php.net to get a copy of this message
This doesn't sound like it has anything to do with the mail function. It appears that your newsletter is getting caught by their spam filters. --Sam PHP wrote: > Hi > In a web application I need to send mail for each members whith a > different content . mail message must be in HTML Format and 1256 code > page > I call mail() functoin in a simple loop to send multiple mail message > with differrent content. > > now I want know that is any body know better method to do it ?? > > but I have bigest problem when I send message to yahoo mail > server ,yahoo rout my message to bulk mail and I cant solve this > problem please tell me if you have know solution. > > my send mail is come below: > function send_mail($to,$subject,$message){ > > $headers = "MIME-Version: 1.0\r\n"; > $headers .= "Content-type: text/html; charset=windows-1256\r\n"; > > $headers .= "From: Me <mail@domain.com>\r\n"; > $headers .= "Return-path: Me <mail@domain.com>\r\n"; > $headers .= "Reply-To: Me <mail@domain.com>\r\n"; > // $headers .= "Bcc: $to \r\n"; > > if (mail($to, $subject, $message, $headers)) > print("$to Send Ok!<br>"); > else > print("<b>$to Send Problem</b>!<br>"); > } > > thanks

« previous php.general (#180490) next »