The incident occurred last night in the town, they said.
The woman had earlier approached the police complaining against the accused, who had posted the messages defaming her on the Facebook and sending such messages on her mobile.
Family sources alleged that though she approached police, no complaint was filed. The woman then approached the Kerala High Court, which directed the police in that town to conduct a probe and file a report.