You could have or should have approached this forum before, not after, your resignation. Junior members seek advice when they face some problems. What is the logic of approaching this forum after the resignation?
From your post, it appears that you were soft on a person who harassed you. There was no need to show empathy or sympathy to those who harass. When he started harassing you, you gave him three chances. Despite your warnings, when he was not amenable, you approached senior authorities. How did you approach them? Did you submit a formal written application to HR and obtain a signature on the duplicate copy?
If the senior authorities turned a cold shoulder, you could have written a letter to the MD. Why did you not do that? If the harasser sent you messages on WhatsApp, then this evidence was sufficient to lodge a police complaint. Why did you not do that? At least you could have approached the local body of the National Council for Women (NCW). They would have lent a helping hand to you. Not taking any action on the receipt of a formal complaint from a woman employee itself is a prosecutable offense.
Your resignation is nothing but a sign of withdrawal, and it could embolden the harasser. The Government of India has made adequate legal provisions by passing laws. Instead of taking advantage of those provisions, you have resigned. For a woman who has the mentality of the 18th century, nothing can be said further!
Thanks,
Dinesh Divekar