-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I know a lot has been discussed in this topic, but I still don't find any 
solution.
What I want to do is send a lot of mails triggered from a web page using 
php.
I've found diferent solutions but all of them has some problem:
1) using set_time_limit() to allow the script to run longer while sending 
e-mails, my prefered solution but I won't let someone waiting a lot of time 
with a loading browser because they'll stop, reload, and at best, just not 
like it. So, I would like to launch a background process changing the 
set_time_limit() in that process (if needed), the problem is that I wasn't 
able to run a background process in PHP, were you ? I know I could use at 
(atd) to run a background process but in my shared server, there's no at 
available.

2) Queuing instead of sending. I've seen that some people improved the 
'sending' (well, it's not sending anymore) by queuin only. Then some people 
tell me that sendmails always queue and I'm a bit confused. Does sendmail 
queue or sends mails ? if it queue, why is it send imediatly if the queue 
is procesed once an hour or so ? I don't care if my mails are procesed once 
an hour for this mails, I don't need them to be sent imediatly. I can't 
change sendmail configuration (since it's a shared server) and I wouldn't 
want to because I have other 'mail cases' when I want to send the mails 
imediatly. I can't change the way PHP calls sendmail (again, it's a shared 
server) but I'm using PHPMailer and I can change the way PHPMailer uses 
sendmail, will `/usr/sbin/sendmail -O DeliveryMode=q` queue the mails I'm 
sending ?

3) Someone told me to do it using cron, do you have any idea of how to do it 
with cron ?

Thanks.
- -- 
Pupeno: [EMAIL PROTECTED]
http://www.pupeno.com
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9bAiPLr8z5XzmSDQRAncrAJ9aJNbANVfW0yWglY7n/33vQrN3UQCbB6N0
2ba6H7dP1U4Qb0xfI4M8SSE=
=cQ0X
-----END PGP SIGNATURE-----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to