Dear
As required by my contract of employment, I hereby give you (insert number) weeks’ notice of my intention to leave my position as (insert job title).
I wish both you and (Name of Employer) every good fortune and I would like to thank you for having me as part of your team.
Yours sincerely