What is a Email Message ? known as Internet Message or RFC822


An email is a document that is composed of the following structure

  • one or more headers
  • followed by a body that may be composed of multi-parts:
    • Text part
    • HTML part
    • Attachment and Inline Images

It's a network message known as:

The format is described in RFC822 Internet Message Format.

The email can be found after the DATA or BDAT smtp command in the SMTP protocol. ie this is the message.


Delivered-To: [email protected]
Received: by 2002:a05:6504:519b:0:0:0:0 with SMTP id z27csp820130ltq;
        Fri, 12 Jun 2020 12:08:19 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJzM66OAweomG9vKiJ5AWPP0ohl2MoXV5gWEkK6qjMEbbi7zYkA0YtlEAlN2q+zIayLrmH2K
X-Received: by 2002:a7b:c186:: with SMTP id y6mr410599wmi.82.1591988898906;
        Fri, 12 Jun 2020 12:08:18 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1591988898; cv=none;
        d=google.com; s=arc-20160816;
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass [email protected] header.s=vps748761.ovh.net header.b=ByN4Iw4U;
       spf=pass (google.com: domain of [email protected] designates as permitted sender) [email protected]
Return-Path: <[email protected]>
Received: from server01.bytle.net (server01.bytle.net. [])
        by mx.google.com with ESMTP id v21si7421752wra.299.2020.
        for <[email protected]>;
        Fri, 12 Jun 2020 12:08:18 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates as permitted sender) client-ip=;
Received: by server01.bytle.net (Postfix, from userid 0)
	id 3E16E1FBE8; Fri, 12 Jun 2020 21:08:18 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 server01.bytle.net 3E16E1FBE8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytle.net;
	s=vps748761.ovh.net; t=1591988898;
Date: Fri, 12 Jun 2020 21:08:18 +0200
To: [email protected]
Subject: Without hosts dkim test !
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <[email protected]>
From: [email protected] (root)
cc: [email protected]
bcc: [email protected]

This is the body of the email



An email has:

  • headers (key pair value) such as:
    • the sender’s address,
    • then the recipient’s address
    • address,
    • mimetype, …
  • body (text written in the defined mime format)


  • Every logical line starts without space.
  • A line with a space at the beginning is the continuation of a logical line
  • Headers are separated from the body by a blank line


The mime message are stored in a mailbox

How to see the original email by provider


To see the text format of the email (the original), you can ask it in the email menu

Gmail Show Original Email



  • Rfc2822 - Internet Message Format

Discover More
Card Puncher Data Processing
Email (Internet Message)

An Email is a document known as the MimeMessage or Internet Message Format that: is send and received between email server and managed via a client known as the Mail User Agent This is in the marketing...
Email - Email processing

Every server that handles an email message adds some information to the message headers. At a minimum, the SMTP server will add a Received header, which indicates when and how it handled the message....
Opendkim Test Mailer
Email - How to test if your server email configuration was done correctly ?

This article will show different server configuration testing in order to validate your email server configuration
Email - Mailbox

A mailbox is a file where the emails message are stored. A user application (known as MUA) can read and write a mailbox The Mail Delivery Agent will write the email received by the SMTP server (MTA)...
Gmail Original Message Id
Email - Message Id

A Message-ID is an email identifier. It is generated by the client sending the mail and added in the Message-ID header An message id is generally the concatenation of: a timestamp the local hostname...
Email - Mille and one way to send an email (professional and user)

This article shows you Mille and one way to send an email (ie known as transport in SMTP. submission port Before continuing, you need to know the basics of email and how it works with SMTP. If you...
HTML emails - How to write them correctly

There is a lot of fuzz concerning how you should write the HTML for email. This article will give you on the good track and this is not as scary as it seems
How does the email system work? SMTP, POP, IMAP explained

This page gives you the foundations of the email system. At the end, you should be able to understand why when you configure your email client, you need to set up: The SMTP configuration And the...
Dkim Record Text Format Ovh Dns Zone
How to configure DKIM with PostFix, a step by step guide

This article will show and explain you how to install DKIM with OpenDkim as a milter for Postix on CentOS
Postsrsd Spf Pass
How to install the Sender Rewriting Scheme (SRS) on PostFix?

This page is the installation of postsrsd which implements Sender Rewriting Scheme (SRS) for Postfix. It's mandatory if you forward emails via the alias functionality....

Share this page:
Follow us:
Task Runner