Updated

A former New Hampshire high school teacher has pleaded guilty to a charge she e-mailed nude photographs of herself to a 15-year-old student.

Forty-one-year-old Melinda Dennehy of Hampstead entered the plea Monday to a misdemeanor charge of indecent exposure.

As part of a plea agreement, Dennehy was given a suspended jail sentence on the condition that she remain on good behavior and have no contact with the child or go to the high school.

In court, Dennehy apologized for her actions and poor judgment. She told the court she's continuing counseling and hopes to lead a productive life.

Dennehy was arrested in March after the photos were found circulating around the high school. She resigned three weeks later.