Skip to content

mail-parser v3.2.0

Compare
Choose a tag to compare
@fedelemantuano fedelemantuano released this 30 Dec 14:02
· 201 commits to develop since this release

Highlights

  • received headers are now parsed as single hops. All hops are date in UTC, and delay between actual and before hop.
  "received": [
    {
      "from": "host86-187-174-57.range86-187.btcentralplus.com 86.187.174.57 :45321 helo=User",
      "delay": 0,
      "date_utc": "2016-08-19T14:34:52",
      "hop": 1,
      "date": "Fri, 19 Aug 2016 20:34:52 +0600",
      "with": "esmtpa Exim 4.87 envelope-from <[email protected]> id 1bakrE-000291-LF",
      "by": "localhost.localdomain.com"
    },
    {
      "from": "localhost.localdomain.com mail.revesoft.com 208.74.72.248",
      "delay": 159287.0,
      "date_utc": "2016-08-21T10:49:39",
      "hop": 2,
      "date": "21 Aug 2016 10:49:39 -0000",
      "with": "ESMTP via TCP",
      "by": "mx03.futurequest.net 69.5.6.174"
    },
    {
      "date": "21 Aug 2016 10:49:40 -0000",
      "delay": 1.0,
      "date_utc": "2016-08-21T10:49:40",
      "from": "network",
      "hop": 3
    },
    {
      "from": "mx03.futurequest.net mx03.futurequest.net 69.5.6.174",
      "delay": 0.0,
      "date_utc": "2016-08-21T10:49:40",
      "hop": 4,
      "date": "21 Aug 2016 10:49:40 -0000",
      "with": "FQDP via TCP",
      "by": "pt02.futurequest.net 69.5.6.173"
    },
    {
      "date": "21 Aug 2016 10:49:40 -0000",
      "delay": 0.0,
      "date_utc": "2016-08-21T10:49:40",
      "from": "network",
      "hop": 5
    }
  ],