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

From: Date: Wed, 05 Jan 2005 19:40:51 +0000
Subject: Re: MAIL:: How to send multiple, personalised e-mails?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16686@lists.php.net to get a copy of this message
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 (#16686) next »