Send them your resignation through email and keep a copy of it in your files. If they still don't accept, you can then approach the Labour Office for assistance.