More than 16,000 Oakland University undergraduate students received hundreds of emails late Sunday night after students discovered they could "reply-all."

Undergraduate students at Oakland University were spammed with hundreds of emails after students discovered they could ‘reply-all’ to university mailings — sending emails to thousands of other students.

Brian Bierley, director of media relation explained that the replies started with an email sent by the university. A mass amount of emails began rolling in late Sunday night.

“The Office of the Registrar at Oakland University sent out an official email to all undergraduate students over the weekend. That email should have been for outbound distribution only. However, the email went out with parameters that allowed all recipients to use reply and reply all functions,” Bierley said in a statement.

Many of the responses begged to be taken off the undergraduate mailing list.

Watkins declined to comment.

“As a result (of this error), a student used the ‘reply all’ capability to ask other students to take an online survey for a class project. From there, several other emails using the ‘reply all’ function began going back and forth to undergraduate students,” Bierley said. “We are now looking at necessary changes to our email policy and guidelines to prevent this situation from happening in the future.”

Oakland University had more than 16,000 undergraduate students in 2012. Graduate students did not receive the flood of emails.

OU is no stranger to the reply-all glitch. In 2012, former OU President Gary Russi sent a campus-wide announcement that former Vice President Nominee Paul Ryan would visit campus. A student replied all with “what a waste of time.”