This code has been rewritten for OJS 2.2 to indicate progress as it sends messages. In the meantime, the code works, but many servers are configured to prevent PHP scripts from running long enough to send that many messages. Make sure your max_execution_time and max_input_time limits are set extremely high in your server's php.ini configuration file.
Open Journal Systems Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada