Dear
This is to inform you that your resignation from the position of (job title and department), effective from (date of effective resignation), is accepted.
I would like to inform you that according to your contract of employment, you will be requires to work until (date that employment ceases according to notice period, calculated from stated effective date of resignation - and agreed with HR department or equivalent).
While working your period of notice you will obviously continue to be subject to your conditions of employment, and I would be grateful if you continue to maintain your normal high level of commitment to your job up to the time you leave. I thank you for your efforts and contribution during your time with us, and I wish you all the best for the future. If in case, you need a reference for another job, I shall be happy to provide it.
Yours sincerely