A MIDDLE-AGED woman who sent explicit photographs of herself to her son’s under-age best friend has avoided jail.

The 41-year-old mother of two cannot be identified because her son remains best friends with the victim.

County Court Judge Frances Hogan placed her on a two-year community corrections order after she pleaded guilty to using a carriage service to transmit indecent material to a minor.

The woman sent 25 photos and 10 videos of indecent material to the teen, including explicit nude images of herself.

Some of the images included indecent images of younger women, and the woman asked her victim which he preferred.

Judge Hogan said the woman’s “bizarre obsession” with her son’s best friend was driven partly by her own unhappy marriage.

“You were in a position of trust,” the judge said.

“It was a grave breach of trust that you embarked on your fantasy about him.”

The woman’s son was in court for much of her trial, and continues to see his best friend, her victim.

Her husband of 25 years did not attend court, but provided a reference saying he was “so proud” to be part of her life.

The woman nodded when Judge Hogan noted that her husband appeared to ignore her emotional and physical needs.

She was placed on the sex offenders’ registry for eight years and ordered to perform 150 hours of unpaid community work.