RE: [PHP-DB] mail() - is there a limit?
| From: | olinux | Date: | Sat, 29 Sep 2001 03:22:20 +0000 |
| Subject: | RE: [PHP-DB] mail() - is there a limit? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12840@lists.php.net to get a copy of this message | ||
Thanks!
1 question:
If I use set_time_limit(0); - will this override my hosts timeout setting if
there is one?
olinux
-----Original Message-----
From: Luke Muszkiewicz [mailto:lmuszkie@puredev.com]
Sent: Monday, September 10, 2001 4:29 PM
To: php-db@lists.php.net
Subject: RE: [PHP-DB] mail() - is there a limit?
olinux:
I do not know the answer to your question.
However, I would alternatively suggest that you send the email to each
person individually. That is to say, loop through your recipient array and
use mail() to send the message to each recipient, as opposed to creating a
bcc array and then sending one email.
This solution will take longer to execute -- you may in fact need to adjust
the maximum program execution time via set_time_limit() -- but each
recipient will receive an individual email, which, I think, will make your
message look more personal.
Plus, you no longer need to consider the number of addresses in the bcc
field.
Let me know if you have any questions!
-luke
Luke Muszkiewicz
Pure Development, LLC
http://puredev.com
> I am using a script that grabs about 100 emails from a
> database, loops thru and writes them to $bcc
>
> Then I use a single mail() to send a msg to everyone
> in the $bcc
>
> Is there a maximum nuber of emails that i can mail to
> this way?
>
> Thanks,
> olinux
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com