Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
beydogan opened this issue Sep 12, 2023 · 0 comments
Open

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

beydogan opened this issue Sep 12, 2023 · 0 comments

Comments

@beydogan
Copy link

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": "..."
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant