Mine was simple.
Dear ---------I am writting to resign my post at --------- giving you one months notice from today.
Regards --------