If you will possibly have this code running on more than one machine, then use a semaphore to ensure that two processes don't process the queue at the same time.
If possible, run the email sending on a machine other than the web server so you don't have problems with 4DIC blocking the server.
Regards, Aparajita www.aparajitaworld.com "If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoy.org _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
