+
Skip to content

Cannot parse the name of the "From" field  #19

Open
@beydogan

Description

@beydogan

It cannot parse the name part of From field. The sender in the example is a Gmail account so it sets the From field like:

From: John Doe <...@gmail.com> but payload doesn't have the name field.

Here is an example payload:

{
  "spf": "softfail",
  "id": "CAHg1ePJZcAw_qS0HQuXc4KATCvZORVbMCOfVmSuGt28PDTZk0A@mail.gmail.com",
  "date": "2023-09-12 11:55:37 +0300 +0300",
  "subject": "test",
  "resent_date": "0001-01-01 00:00:00 +0000 UTC",
  "body": {
    "text": "foobar",
    "html": "
foobar
"
  },
  "addresses": {
    "from": {
      "address": "....@gmail.com"
    },
    "to": {
      "address": "..."
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载