Re: Mail, array of recipients

From: Date: Sat, 07 Aug 2004 01:35:57 +0000
Subject: Re: Mail, array of recipients
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13992@lists.php.net to get a copy of this message
Quoting Sean Brown <sean@sean-brown.com>:
In the pear manual examples for the send method, it shows: send (mixed $recipients, string $headers, string $body); When I send out an e-mail from an app, it works, however, it does not seem to properly populate the "To" header based on the recipient array.
Right, and it's not supposed to (otherwise, you'd be sending a Bcc'ed message with the Bcc header in the clear - oops). You need to set the To: header explicitly. -chuck -- "Regard my poor demoralized mule!" - Juan Valdez

« previous php.pear.general (#13992) next »