RE: [PHP] Mail class to send several e-mails within one smtp connection
| From: | Axiom | Date: | Sun, 29 Feb 2004 19:11:24 +0000 |
| Subject: | RE: [PHP] Mail class to send several e-mails within one smtp connection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179136@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Juergen Mueller pro.vider.de GmbH [mailto:j.mueller@pro.vider.de]
> Sent: Sunday, February 29, 2004 12:02 PM
> To: php-general@lists.php.net
> Subject: [PHP] Mail class to send several e-mails within one smtp
> connection
>
> Hello,
>
> does anybody know a simply mailing function, which does
> open a smtp connection to an mailserver, sends say 20 mails
> with different bodies to that mailserver and than closes
> the smtp connection again?
>
> As I understand the standard php mail() function, that
> it is doing quit that but of course sending only one mail.
>
> Thanks very much.
>
> Regards,
> Juergen
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
You could always run the mail() command several times in a row and have it
include different $strings which contain different information for each
unique e-mail.
-Casey
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.598 / Virus Database: 380 - Release Date: 2/28/2004