Thank you for the opportunity to work at [company name]. I have learned a lot during my time here. I truly appreciate your guidance and friendship during my time employed.
However, the time has come for me to move on. This letter is to formally announce my resignation from [company name], starting today. My last day will be [two weeks from today].
Please let me know what I can do to make my final time here a productive experience.