Forty-nine-year-old Elliot Campbell pleaded guilty at Selkirk Sheriff Court to the offence which happened at his Bonnington Cottages home between October 2021 and April last year.
He admitted disclosing photos and film showing the woman in an intimate position which was intended to cause her alarm and distress.
Campbell also pleaded guilty to intentionally causing another woman to look at a sexual image without her consent by sending sexually explicit images and videos of another person to her.
That offence also happened at his home between October 2021 and January last year.
As an alternative to custody, Sheriff Robert Fife imposed a Community Pay Back Order with the maximum amount of unpaid work hours of 300.
He also imposed Non-Harassment orders banning Campbell from contacting both women for three years.
Campbell’s name has been placed on the sex offenders register for five years.

