Hi Jonathan,

Try the code that is here.

http://phpclasses.upperdesign.com/browse.html/package/14

You will have to register to download the code but it doesn't cost anything.
There are also a LOT of other interesting little tidbits laying around
there. The class should do what you desire, but I can not say whether it
will speed things up or not.

There is sample code to show how to use the class, but if you still have
questions... ask.

Have fun,
-- 
_________________________________________________________________
 Brian Ashe                     CTO
 [EMAIL PROTECTED]              Dee-Web Software Services, LLC.
 http://www.dee-web.com/
-----------------------------------------------------------------
You don't have to swim faster than the shark...
You just have to swim faster than the people you're with.

Wednesday, December 06, 2000, 3:30:12 PM, you wrote:

JW> Howdy,

JW> My company has written an php page that gets email addresses from SQL DB, then 
sends the mails out via the built-in sendmail commands.

JW> This is for subscriber based emails, not spam.

JW> Formerly we've been using sendmail, but we recently switched to postfix for 
various reasons, including virtual domain support.

JW> However, Postfix runs twice as slow with the mail() function as sendmail does, 
that's very unacceptable.

JW> Poeple on the Postfix mailing list said that this is the result of using the 
sendmail command line, which is very un-optimized. they said we need to use SMTP port 
injection for fast mailing.

JW> Unfortunately we are very new to php, and don't know how to do this.

JW> Does anyone have some sample code showing this method of sending mail via smtp?, 
that you'd be willing to share?

JW> This is on a Red Hat Linux system, by the way.

JW> Thanks,

JW>         JW



JW> _______________________________________________
JW> Redhat-list mailing list
JW> [EMAIL PROTECTED]
JW> https://listman.redhat.com/mailman/listinfo/redhat-list




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to