Formal- It follows a stipulated format, often written in a formal language, and serves the purpose of official and professional communication.
Informal- Personal letters that you can send to relatives and friends.
Semi-Formal- These letters are written in a polite manner and are sent to people you do not know directly.