Ahmed Abdel-Aliem wrote:
> hi
> i use this code to send email from mysite
> but when it sends to some accounts it repeats the body part twice in
> the same email while to other accounts it sends the body one time only
> can anyone help in that plz ?
>
> if ($email_to != "") {
>
uot; . phpversion() . "\n";
$header .= "X-Priority: 1";
$header .= "To: Some [EMAIL PROTECTED]"; // Masks To: field
mail($to_email, $subject, $body, $header);
}
That would make more sense, yet still the server load would be huge because
of all th
You should have this at the top of your for loop
$body="";
Ahmed Abdel-Aliem wrote:
hi
i use this code to send email from mysite
but when it sends to some accounts it repeats the body part twice in
the same email while to other accounts it sends the body one time only
can anyone help in that plz ?
hi
i use this code to send email from mysite
but when it sends to some accounts it repeats the body part twice in
the same email while to other accounts it sends the body one time only
can anyone help in that plz ?
if ($email_to != "") {
$to = array();
$to
4 matches
Mail list logo