|
Posted by Jerry Stuckle on 09/28/07 04:00
davjoh wrote:
> The following describes the problem I am having. Can anyone help?
>
>
>
>
>
> $send_to[] = "davjoh123@yahoo.com";
> $send_to[] = "production@advisiongraphics.com";
> $send_to[] = "advision_galiano@mac.com";
>
>
>
>
> // send email
> foreach ($send_to as $dest)
>
> mail($dest,$email_subject,$message,$header); //This line NOT
> working
> //expecting it to send email to all the above addresses assigned to
> $send_to[] array. Is it because values have not been added to $dest
> and if so how to do
>
> mail($r["email"],$email_subject,$message,$header); //This line
> working
>
Nope, but you haven't told us enough about your problem. For instance,
what's the response from the mail() call? What's in $header?
Are you suer it isn't going into a spam black hole somewhere? Are you
trying to send too many emails too quickly, and therefore upsetting your
MTA?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|