Seriously? I am thinking a little exaggeration. I don't think trolls would send e-mails, what is the point if noone reads your trolling.
And what is the fault of the teacher (other than visual basic). "Guys, please don't harass this girl", yeah tell that to a bunch of boys and see how that works. I don't think students would just openly harass her. He might be a bad teacher but harassments is not his fault.
If there is one to blame, I would blame the parents. Didn't he researched the school before applying her daughter? Doesn't her daughter already above high school programming?