Why not try using the Batch API instead? On 01/06/2010, at 2:56 PM, Dayton Perkins wrote:
> I really don't need any more work to do, yet I am considering finishing and > submitting a module to drupal..org. > The module relies on mime_mail and provides a UI to mail a node to a > subscriber list. It utilizes an AJAX script to loop through the subscriber > list and send each mail. > Currently the module is a bit of a hack as the AJAX script resides in the > docroot. > I would like advice as to how to place the script in the module folder and > still invoke drupal_bootstrap() without file path errors. > Thanks so much :-) > > Dayton Perkins Tuesday, June 01, 2010
