On Wed, 24 Apr 2002, David Orn Johannsson wrote:
> I’m trying to send an email useing mutible email addresses, could any
> one tell me why this isn’t working, it works when I only use one address
> ($to = [EMAIL PROTECTED])
> but not when I use the following code.
> $to = "[EMAIL PROTECTED]", " ;
> $to .= "[EMAIL PROTECTED]" . ", " ;
> $to .= "jonmundur@ mail.is";
> $subject = "Subject”;
> $body = "Body”;
> mail($to, $subject, $body, "From: [EMAIL PROTECTED] ");
I believe you have to call mail() once for each addressee.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php