A female music teacher has been arrested in connection with sending sexually explicit images to a male student.