Dear (Supervisor):
This letter is to inform you that I will be resigning from (Company) to pursue a new position with another company. My last date of employment will be (Date). I will continue to support the projects assigned to me until that time.
I have enjoyed working under your supervision, and I appreciate the opportunity you have given me to apply my experience.
Sincerely,
(Candidates name)