rsday, December 27, 2001 6:02 PM
Subject: Re: [PHP] Sending out mass mail without having timeout problems ..
> > > >Subject: [PHP] Sending out mass mail without having timeout problems
> ..
>
> Hi,
>
> Too much trouble to write who wrote what when. Someone suggested using an
Hi,
If you will send a lot of e-mails, I recomend you, that use under the Console:
$rush nohup php -q file_send_email.php &
The nohup, tell to maquine that don't hang up until finished.
php -q (quiet mode) and the last character (&) for let the process in background.
It's only works on *nix
> > >Subject: [PHP] Sending out mass mail without having timeout problems
..
Hi,
Too much trouble to write who wrote what when. Someone suggested using an
alias but that's not always doable.
I had an app that read from a live rdbms and sent out emails. I sent each
email to sendmail and waited
http://www.php.net/manual/en/function.set-time-limit.php
http://www.php.net/manual/en/function.ignore-user-abort.php
Robert V. Zwink
http://www.zwink.net/daid.php
-Original Message-
From: bain [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 3:41 AM
To: php general list
Subje
ROTECTED]>
To: "Paul Roberts" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 9:13 PM
Subject: Re: [PHP] Sending out mass mail without having timeout problems ..
>
> Wouldn't it be easier (better) to create a sendmail alias inc
You might try something like this. First estimate the number of emails that
you can send out in 30 seconds (or however long the timeout is). Hard code
that value into your script. Use the location header method to redirect the
script back to its self sending along a new variable $row in the GET
ECTED]>
Cc: "php general list" <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 10:12 PM
Subject: Re: [PHP] Sending out mass mail without having timeout problems ..
> On Thu, 2001-12-13 at 23:13, jimtronic wrote:
> >
> > Wouldn't it be easier (better) to
On Thu, 2001-12-13 at 23:13, jimtronic wrote:
>
> Wouldn't it be easier (better) to create a sendmail alias include
> file that has all the addresses in it and let sendmail or majordomo
> or qmail or whatever handle it?
>
> I'm not knocking your method as much as I'm looking for the pros and
Wouldn't it be easier (better) to create a sendmail alias include
file that has all the addresses in it and let sendmail or majordomo
or qmail or whatever handle it?
I'm not knocking your method as much as I'm looking for the pros and
cons of the different methods.
jim
>the way I handle thi
the way I handle this is to send a response to the browser before sending
any mail you can then close the browser window and the script will carry on
while you do something else. I get the script to send me an email when its
finished 2-3 hours later. (I have around 6000 newsletters that are sent o
In background :
1)$result_does_not_matter = `/path/to/your/massmailer.php 1>mail_std_out.log
2>mail_std_err.log &`;
2) use exec with cmd as the above.
With PHP you can write PHP shellscripts:
#!/usr/local/bin/php -q
HTH
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED
11 matches
Mail list logo