The server probably has a spam prevention measure that prohibits sending to "too many targets" in either a single command, or in any number of commands within too short a period of time.
Check your status window for such error messages, or monitor /debug @debug
Or consult with a network admin about the guidelines of this type of behavior.