she should blackmail him back saying she will inform his wife about whatever he is doing....

See your friend has made a mistake thats for sure. She should not trust anyone on chating etc...If she will get scared by the blackmailing then he will trouble her more and more...