Kindly accept this letter as my official resignation notice from [name of company]. I will be working until [date of last day].
Thank you everyone for being given the opportunity to work at this company since [date of start]. I found delight in my stay at this company as I have met many colleagues and made friends.
This was a challenging decision as I have thoroughly enjoyed working for this company. I would like to thank everyone, and I wish you the best.