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 <[EMAIL PROTECTED]>\r\n";
$headers .= "Return-path: Me <[EMAIL PROTECTED]>\r\n";
$headers .= "Reply-To: Me <[EMAIL PROTECTED]>\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