To write a letter for immediate resignation, you can follow a standard business letter format. Here is a template that you can use:
[Name]
[Address]
[Phone number]
[Email]
[Date]
[Employer name]
[Company address]
Dear [Mr./Mrs./Ms. Surname],
I am writing to inform you that I am resigning immediately from [name of the company] as of [date of last day at the job]. Due to [reason for leaving], it is necessary for me to resign at once.
I have completed all my assignments and have nothing pending. Please let me know about processing my last paycheck before I leave.
Thank you for the opportunity to work with you. I appreciate the support and guidance I received from you during my time here. I apologise for having to leave without giving you advance notice.
Sincerely,
[Signature]
[Name]