Re: Looking for "SMTP injection" sample code
| From: | Manuel Lemos | Date: | Sun, 10 Dec 2000 06:36:20 +0000 |
| Subject: | Re: Looking for "SMTP injection" sample code | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29544@lists.php.net to get a copy of this message | ||
Hello Jonathan,
On 06-Dec-00 17:20:40, you wrote:
>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.
>This is for subscriber based emails, not spam.
>Formerly we've been using sendmail, but we recently switched to postfix for
>various reasons, including virtual domain support.
>However, Postfix runs twice as slow with the mail() function as sendmail
>does, that's very unacceptable.
>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.
>Unfortunately we are very new to php, and don't know how to do this.
>Does anyone have some sample code showing this method of sending mail via
>smtp?, that you'd be willing to share?
You may want to look here for a PHP SMTP client class that can send
messages to multiple recipients as fast as SMTP allows.
http://phpclasses.UpperDesign.com/browse.html/package/14
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--