You are here: Re: Mass Mails and Not Crashing Server « PHP Language « IT news, forums, messages
Re: Mass Mails and Not Crashing Server

Posted by shimmyshack on 03/05/07 11:56

On 5 Mar, 09:25, Rik <luiheidsgoe...@hotmail.com> wrote:
> Tim McGurk <niceti...@yahoo.com> wrote:
> > I have to write a script that will send about 300 emails with an
> > automatically generated report and text, and I am concerned about
> > crashing
> > the server with that many successive calls to mail()... Is that a
> > reasonable
> > concern, or am I being foolish?
>
> Any normal server should be able to handle this. 300 isn't exactly 'mass'
> mail compared to the real thing. If you have to sent thousands of emails
> at once, then it's usually better to let a third party specialist handle
> this.
> --
> Rik Wasmus

also you should think about using authenticated smtp, that way your
function can make use of a keepalive to send the whole lot at once,
and in this case sleep() would actually result in MORE load to the
server. Crashing the server is just not a remote possibility, having
your mail /dev/null'ed by your Hosting provider might be, so check
their t&c, some do not allow more than 10 mails a minute max 150 per
hour..... some really can be that tight.

 

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

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