{"action":"opened","issue":{"url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/126","repository_url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser","labels_url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/126/comments","events_url":"https://api.github.com/repos/php-mime-mail-parser/php-mime-mail-parser/issues/126/events","html_url":"https://github.com/php-mime-mail-parser/php-mime-mail-parser/issues/126","id":190128140,"number":126,"title":"Multiple Content-Transfer-Encoding headers causes Exception","user":{"login":"fko2221","id":8293789,"avatar_url":"https://avatars.githubusercontent.com/u/8293789?v=3","gravatar_id":"","url":"https://api.github.com/users/fko2221","html_url":"https://github.com/fko2221","followers_url":"https://api.github.com/users/fko2221/followers","following_url":"https://api.github.com/users/fko2221/following{/other_user}","gists_url":"https://api.github.com/users/fko2221/gists{/gist_id}","starred_url":"https://api.github.com/users/fko2221/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fko2221/subscriptions","organizations_url":"https://api.github.com/users/fko2221/orgs","repos_url":"https://api.github.com/users/fko2221/repos","events_url":"https://api.github.com/users/fko2221/events{/privacy}","received_events_url":"https://api.github.com/users/fko2221/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-17T18:37:36Z","updated_at":"2016-11-17T18:37:36Z","closed_at":null,"body":"A message that has more than one Content-Transfer-Encoding header causes the following Exception to be thrown:\r\n\r\nstrtolower() expects parameter 1 to be string, array given in Parser.php on line 535\r\n\r\nI know there's only supposed to be one Content-Transfer-Encoding header but I would like to handle this gracefully instead of throwing an exception. \r\n\r\nA sample message is attached.\r\n[message.txt](https://github.com/php-mime-mail-parser/php-mime-mail-parser/files/598151/message.txt)\r\n\r\nI will submit a PR for this issue.\r\n\r\n"}}
{"actor":{"display_login":"fko2221"}}