use php for everything from subscription management to email authoring and 
use a perl script to effectively send the emails


At 10:08 25/08/01, Niklas Lampen wrote:
>I'm sending a huge amount of mails with php. How can I send mail directly to
>the smtp server? Right now I'm using pipe to send each mail to sendmail.
>Works fine with about 35 000 mails, but it takes ages to run.
>
>What would be the smartest way?
>
>
>Thanks!
>
>
>-----Original Message-----
>From: Richard Lynch [mailto:[EMAIL PROTECTED]]
>Sent: 25. elokuuta 2001 3:54
>To: [EMAIL PROTECTED]
>Subject: [PHP] Re: send mail to mailing list using mail() or smtp?
>
>
> > My question - is this going to work for a few thousand emails?
>
>Depends on your server.
>
> > What
> > about 100,000?
>
>No way.
>
> > Would it be better to send the mail directly to the
> > smtp server?
>
>Yes.
>
> > Can you foresee any problems?
>
>Several.  The first one is you didn't read the archives or look for
>pre-existing code to talk to SMTP directly. :-)
>
>Manuel's upperdesign.com has one, and there are plenty of others.  You could
>roll your own -- I did, so it can't be too tricky. :-)
>
>Also, at that volume, I think you're going to run into trouble just in
>talking to the all the SMTP servers.  I *BELIEVE* one major speed-up can be
>achieved by sorting the outgoing emails by their recipient's domains...
>
>You may want to research how "real" mailing list software deals with this if
>you actually expect to hit 100K addresses.
>
>If they're all the same email, you'd be *WAY* better off just interfacing to
>majordomo, ezmlm, SmartList, or whatever other mailing list software was
>designed to handle this.
>
>--
>WARNING [EMAIL PROTECTED] address is an endangered species -- Use
>[EMAIL PROTECTED]
>Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
>Volunteer a little time: http://chatmusic.com/volunteer.htm
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to