Here’s a simple template you can use to write a letter accepting the resignation of an employee.
With a heavy heart, we are accepting your resignation as
in [company name].
You are appreciated as a fine employee. You have greatly contributed to our company and satisfied the demands of your position.
We wish you good luck in your career path.