You need to take your mail() call out of the while() loop. THAT is why its sending individual emails.
Also $message should (in the while loop) be $message .= "your message";
Note the . before the =
My helpful sig is on vacation trying to loose some weight. It got a bit fat and caused a few problems but it will be back at some point!