When you have decided to leave the company;
Send a clear communication addressed to your appointing authority through Registred post preferably/or official email id,stating you are submitting your ...month notice of resignation/resignation with immediate effect from the Date of ..., as per the clause number ......of your appointment letter/contract of employment.You can mark a copy to your reporting authority.Retain a copy of your communication and proof of its despatch/proof of its receipt with you.Or submit by hand and obtain its receipt.
You may send a crisp communication narrating your date of submission of your notice of resignation from service effective from ....and mention that you have met your reporting authority on .... and expressed.... and submiited plan for knowledge transfer on....for asmooth transition and that you would like to be relieved from .... and that all the formalities may kindly be completed with in this period, and retain a copy of communication,proof of despatch/receipt.Enclose the copy of your email you have sent.
Prepare a list of company property you have and ask to whom you should submit the company property under receipt.
Try and gather info on the exit formalities from your HR in confidence, and plan and prepare accordingly.