You are here: Re: Send mail to multiple address « PHP Programming Language « IT news, forums, messages
Re: Send mail to multiple address

Posted by BLob on 11/17/49 11:34

BCC is often not a good thing, as servers might refuse the mails or tag them
as SPAM.
I use a php script with a loop sending the mails one by one.
I use phpMimeMail (from http://www.phpguru.net) to create and send the mail
(many features and versions for php4 or php5).
The email adresses are stored in a mysql table.
Each time a mail is correctly sent, I write it in the database.
And I stop as soon as there is an error.
Then I can decide to loop over all the users who I didn't send the mail to
or to loop over them 100 by 100 or 500 by 500.
Each time I run the script it sends the mail only to users who did not
receive it, until there are no more users.

On a dedicated server, I can send 5000 mail in one loop using
set_time_limit(0);
On a shared server, I send them rather 100 by 100.

BLob

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация