The opening block identifies you, the company and its number, and states the resignation in one sentence: with immediate effect on receipt, or from the end of a chosen day "or from the time this letter is received by the Company if that is later", which stops a late delivery from becoming a backdated resignation. A separate sentence confirms the notice is unconditional. Depending on your role, the letter then keeps your employment going and asks the company to confirm it will not treat the resignation as notice or a breach, gives notice under your contract with your last working day, ends a non-executive appointment and asks for fees up to the effective time, or simply asks for unpaid expenses. Optional lines resign you as company secretary and from named board committees, and record that the letter itself does not affect your shares.
The administrative core asks the company to file within 14 days, citing section 167G, and to send you the confirmation, with a matching request under section 279G for a secretary. Where relevant, it asks the company to remove you from its bank mandates and to work on your release from any guarantee you describe.
The closing block covers company property, confidentiality "except where disclosure is required or permitted by law", the section 170(2) duties, and an optional request to keep you covered by the company's directors' and officers' insurance. A statement that you have no claim for loss of your office is optional, off by default, and carves out salary, fees, expenses and employment rights.