RE: [PEAR] MAIL:: How to send multiple, personalised e-mails?
| From: | Tac Tacelosky | Date: | Wed, 05 Jan 2005 21:07:12 +0000 |
| Subject: | RE: [PEAR] MAIL:: How to send multiple, personalised e-mails? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16698@lists.php.net to get a copy of this message | ||
I've found PHPMailer to work very well for me, much, much better than the
internal mail() function.
http://phpmailer.sourceforge.net/
I don't have much experience with the PEAR version.
Tac
-----Original Message-----
From: Justin Patrin [mailto:papercrane@gmail.com]
Sent: Wednesday, January 05, 2005 4:02 PM
To: bob
Cc: pear-general@lists.php.net
Subject: Re: [PEAR] MAIL:: How to send multiple, personalised e-mails?
On Wed, 5 Jan 2005 20:47:36 +0100, bob <junk1@xs4all.nl> wrote:
> What would the advantage then of using MAIL:: over php mail()?
Object oriented-ness.
Multiple backends to use (smtp, sendmail, mail).
e.g. it works when mail() doesn't.
>
>
> 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
> >
> >
--
Justin Patrin
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php