Re: MAIL:: How to send multiple, personalised e-mails?

From: Date: Wed, 05 Jan 2005 19:47:36 +0000
Subject: Re: MAIL:: How to send multiple, personalised e-mails?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16690@lists.php.net to get a copy of this message
What would the advantage then of using MAIL:: over php mail()? On Jan 5, 2005, at 8:40 PM, Justin Patrin wrote:
On Wed, 5 Jan 2005 20:23:07 +0100, bob <junk1@xs4all.nl> wrote:
Does anyone out there have an example of using MAIL:: to send multiple, personalised e-mails? I know you can send to multiple recipients by building a coma-separated list and passing that to $recipients, but then the $header and $body are the same for everyone... I'm trying to achieve Dear Bob, Dear Cindy, Dear Jan (w/ matching headers TO: bob@xxx.com, Dear TO: cindy@xxx.com, TO: Jan@xxx.com) etc. Is there a way to do this w/ MAIL::?
Yes, call send multiple times with each of the recipients and altered messages seperately. -- Justin Patrin


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