|
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]
|