GALVESTON, Texas (AP) _ In a fiery email, a Texas A&M Galveston professor told an entire class that they would be getting failing grades and called them a disgrace to the school. But a university official says the failing grades won’t stick.

KPRC television station in Houston ( ) reports Irwin Horwitz sent an email Thursday to students in his Strategic Management. He said in the email he would no longer be teaching the class.

He says the students lacked the maturity level to enter the workforce.

Some of the students told the television station they were shocked by the email.

Patrick Louchouarn, a university official, says the only reason for a failing grade would be based on the student’s performance.

The department head will take over the class until the end of the semester.