{"action":"created","issue":{"url":"https://api.github.com/repos/karastojko/mailio/issues/7","repository_url":"https://api.github.com/repos/karastojko/mailio","labels_url":"https://api.github.com/repos/karastojko/mailio/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/karastojko/mailio/issues/7/comments","events_url":"https://api.github.com/repos/karastojko/mailio/issues/7/events","html_url":"https://github.com/karastojko/mailio/issues/7","id":326367482,"number":7,"title":"Message parser chocking on charset-encoded addresses","user":{"login":"xguerin","id":73404,"avatar_url":"https://avatars3.githubusercontent.com/u/73404?v=4","gravatar_id":"","url":"https://api.github.com/users/xguerin","html_url":"https://github.com/xguerin","followers_url":"https://api.github.com/users/xguerin/followers","following_url":"https://api.github.com/users/xguerin/following{/other_user}","gists_url":"https://api.github.com/users/xguerin/gists{/gist_id}","starred_url":"https://api.github.com/users/xguerin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xguerin/subscriptions","organizations_url":"https://api.github.com/users/xguerin/orgs","repos_url":"https://api.github.com/users/xguerin/repos","events_url":"https://api.github.com/users/xguerin/events{/privacy}","received_events_url":"https://api.github.com/users/xguerin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-25T03:21:00Z","updated_at":"2018-05-25T20:53:43Z","closed_at":null,"author_association":"NONE","body":"Hello there!\r\n\r\nThe message parser is giving me the following error:\r\n\r\n```\r\nmailio::message_error: Parsing failure of address or group at `<`.\r\n```\r\n\r\nThrown from `message.cpp:716`, because of the following sender address:\r\n\r\n```\r\n =?windows-1252?Q?Action_fran=E7aise_?=<contact@actionfrancaise.net>\r\n```\r\n\r\nMy initial intuition is that MIME header encodings are not supported, but I might very well be wrong. I'll do a bit more digging, but any guidance would be appreciated :)\r\n\r\nThanks,\r\n"},"comment":{"url":"https://api.github.com/repos/karastojko/mailio/issues/comments/392184458","html_url":"https://github.com/karastojko/mailio/issues/7#issuecomment-392184458","issue_url":"https://api.github.com/repos/karastojko/mailio/issues/7","id":392184458,"user":{"login":"xguerin","id":73404,"avatar_url":"https://avatars3.githubusercontent.com/u/73404?v=4","gravatar_id":"","url":"https://api.github.com/users/xguerin","html_url":"https://github.com/xguerin","followers_url":"https://api.github.com/users/xguerin/followers","following_url":"https://api.github.com/users/xguerin/following{/other_user}","gists_url":"https://api.github.com/users/xguerin/gists{/gist_id}","starred_url":"https://api.github.com/users/xguerin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xguerin/subscriptions","organizations_url":"https://api.github.com/users/xguerin/orgs","repos_url":"https://api.github.com/users/xguerin/repos","events_url":"https://api.github.com/users/xguerin/events{/privacy}","received_events_url":"https://api.github.com/users/xguerin/received_events","type":"User","site_admin":false},"created_at":"2018-05-25T20:53:43Z","updated_at":"2018-05-25T20:53:43Z","author_association":"NONE","body":"Thanks for looking into this. If I am not mistaken, according to [RFC2822](https://tools.ietf.org/html/rfc2822#page-21) section 3.4 the white space (`CFWS`) between the `display-name` and the `angle-addr` is optional.\r\n\r\n> What I can do is take a look into the code and check if the fix can be made easily without breaking the existing functionality.\r\n\r\nThanks. Concurrently, I wanted to toy with `lemon` and `ragel` to see if I can replicate the grammar specified in the RFC faithfully. If I get something usable I'll submit a PR."}}
{"actor":{"display_login":"xguerin"}}