A mail messages consists of three major parts

A mail message typically consists of three major parts:

  1. Header: The header is the first line of the message and contains information about the sender, recipient, date, and subject of the message. It is usually separated from the rest of the message by a blank line. The header typically includes the following information:
    • From: The sender's email address
    • To: The recipient's email address
    • Date: The date the message was sent
    • Subject: A brief summary of the message's content
  2. Body: The body of the message is the main content of the message, which can include text, images, attachments, and other multimedia elements. The body is usually separated from the header by a blank line.
  3. Footer: The footer is the last part of the message and typically includes information such as the sender's signature, a disclaimer, or a call to action. The footer is usually separated from the body by a blank line.

Here is an example of a simple mail message with these three parts:

From: [email protected]
To: [email protected]
Date: Mon, 12 Apr 2021 14:30:00 +0200
Subject: Meeting Invitation

Hello Jane,

I would like to invite you to a meeting on Friday at 2 PM.

Best regards,
John Doe

--
John Doe
Example Company

Note that this is a very simple example, and actual mail messages can be much more complex and include additional elements such as HTML formatting, attachments, and more.