Dear ____________ (name of the recipient)
I am writing this letter to inform you that i am resigning from my position as ___________________ (name of the position). In this company i have enjoyed my time and want to thank you for the opportunity given to me to work here. It was a completely rewarding experience. An opportunity has come my way and i have decided to accept the offer. This decision was not an easy one for me and took me a lot of time and consideration.
According to the company rules, I need to give a one month notice to the company before leaving. I assure you that i will do my best to discharge my duties till the time i am here. I would like to thank you once again for the contribution you have made in shaping my future. Your attitude, guidance and understanding have made a lasting impression on me. I wish you and _______________ (name of the company) good fortune.
Thank you.