Dear,
It is with deep regret, that we accept your resignation as (position) of the (organization). We understand the demands that this position has placed on you, and appreciate all of the fine contributions you have made as (position. We sincerely wish that you could continue working with us, although we understand your reasons for not doing so.
Thanking you
Yours truly,