Re: bulk emailer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi

[Sat, Mar 12, 2005 at 08:42:15PM -0300]
This one time, at band camp, Manuel Lemos said:

> Hello,
> 
> 
> For starters,  just stay away from SMTP based solutions if you can. It 
> works but it takes much longer to queue messages that some alternatives 
> because you need to deal with TCP overhead, which is silly when your MTA 
> is in the same machine.
> 
> The best alternative is to inject the messages in the local mailer queue 
> and tell it to no start delivering the messages immediately.
> 
> If you can use sendmail (or exim ) there are some switches for the 
> sendmail command for that purpose. Using qmail or postfix does not 
> require any switches.
>

i have sendmail on this system.
anyone have links on how to inject messages into the local mailer queue?

 
> In any case, you may want to try this MIME message composing and sending 
> class. It provides several means to optimize bulk deliveries, 
> personalized or not. You can pick a sub-class to optimize deliveries for 
> the MTA that you use. There are sub-classes for mail, sendmail (or exim 
> or postfix), qmail, SMTP or Windows pickup folder are supported.
> 
> Regardless of which you use, always call SetBulkMail() function before 
> start looping deliveries to your users.
> 
> If you are not personalizing message, you can tell the class to cache 
> message bodies between deliveries to avoid message regeneration overhead.
> 
> If you want to personalize messages, you can even use Smarty as template 
> engine to speedup personalized message generation.
> 
> There are several examples to demonstrate this:
> 
> http://www.phpclasses.org/mimemessage
> 
> 
> 
> -- 
> 
> Regards,
> Manuel Lemos
> 
> PHP Classes - Free ready to use OOP components written in PHP
> http://www.phpclasses.org/
> 
> PHP Reviews - Reviews of PHP books and other products
> http://www.phpclasses.org/reviews/
> 
> Metastorage - Data object relational mapping layer generator
> http://www.meta-language.net/metastorage.html

-- 
Redmond Militante
Software Engineer / Medill School of Journalism
FreeBSD 5.2.1-RELEASE-p10 #0: Wed Sep 29 17:17:49 CDT 2004 i386
 3:00PM  up 12 days,  3:57, 3 users, load averages: 0.00, 0.00, 0.00

Attachment: pgpzbAtmFwSRb.pgp
Description: PGP signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux