This question already has an answer here:
I joined company A in Feb 2013 and resigned from there in May 2014. At that time I received all the necessary documents. Two months later, the 21st July 2014 I once again joined company A but after a period of 3 months in Oct 2014 I resigned from company A.
I was unable to serve out the 30 day notice period since I had already signed with company B where I had to start immediately. To solve this problem, I asked my previous company if I could skip the 30 day notice period if I agreed to forego 1 month of salary and they agreed, but when I joined company B and they sent a background verification mail to company A, company A sent them negative feedback saying I did not serve the notice period.
This has lead to company B firing me and in addition company A is refusing to provide the required release letter. What can I do in this situation?