{"action":"created","issue":{"url":"https://api.github.com/repos/AppVentus/AvSpoolMailerBundle/issues/13","repository_url":"https://api.github.com/repos/AppVentus/AvSpoolMailerBundle","labels_url":"https://api.github.com/repos/AppVentus/AvSpoolMailerBundle/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/AppVentus/AvSpoolMailerBundle/issues/13/comments","events_url":"https://api.github.com/repos/AppVentus/AvSpoolMailerBundle/issues/13/events","html_url":"https://github.com/AppVentus/AvSpoolMailerBundle/pull/13","id":302766599,"number":13,"title":"Managing custom headers for Swiftmailer","user":{"login":"TristanPouliquen","id":9153231,"avatar_url":"https://avatars3.githubusercontent.com/u/9153231?v=4","gravatar_id":"","url":"https://api.github.com/users/TristanPouliquen","html_url":"https://github.com/TristanPouliquen","followers_url":"https://api.github.com/users/TristanPouliquen/followers","following_url":"https://api.github.com/users/TristanPouliquen/following{/other_user}","gists_url":"https://api.github.com/users/TristanPouliquen/gists{/gist_id}","starred_url":"https://api.github.com/users/TristanPouliquen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TristanPouliquen/subscriptions","organizations_url":"https://api.github.com/users/TristanPouliquen/orgs","repos_url":"https://api.github.com/users/TristanPouliquen/repos","events_url":"https://api.github.com/users/TristanPouliquen/events{/privacy}","received_events_url":"https://api.github.com/users/TristanPouliquen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-06T16:17:53Z","updated_at":"2018-03-06T16:18:27Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/AppVentus/AvSpoolMailerBundle/pulls/13","html_url":"https://github.com/AppVentus/AvSpoolMailerBundle/pull/13","diff_url":"https://github.com/AppVentus/AvSpoolMailerBundle/pull/13.diff","patch_url":"https://github.com/AppVentus/AvSpoolMailerBundle/pull/13.patch"},"body":"This PR adds the saving of custom [unstructured headers](https://github.com/swiftmailer/swiftmailer/blob/85b7e7d12e2d8d897bdba1e0a6496e2c6d700164/lib/classes/Swift/Mime/Headers/UnstructuredHeader.php) to the spool database and the outputting of said headers to the Swift_Message instance sent to [WhiteOctoberSwiftMailerDBBundle DatabaseSpool](https://github.com/whiteoctober/WhiteOctoberSwiftMailerDBBundle/blob/master/Spool/DatabaseSpool.php).\r\n\r\nRestricted to unstructured headers to limit code complexity (could be extended in the future if the needs arise) and because text headers (common custom headers) are managed as UnstructuredHeaders."},"comment":{"url":"https://api.github.com/repos/AppVentus/AvSpoolMailerBundle/issues/comments/370837001","html_url":"https://github.com/AppVentus/AvSpoolMailerBundle/pull/13#issuecomment-370837001","issue_url":"https://api.github.com/repos/AppVentus/AvSpoolMailerBundle/issues/13","id":370837001,"user":{"login":"TristanPouliquen","id":9153231,"avatar_url":"https://avatars3.githubusercontent.com/u/9153231?v=4","gravatar_id":"","url":"https://api.github.com/users/TristanPouliquen","html_url":"https://github.com/TristanPouliquen","followers_url":"https://api.github.com/users/TristanPouliquen/followers","following_url":"https://api.github.com/users/TristanPouliquen/following{/other_user}","gists_url":"https://api.github.com/users/TristanPouliquen/gists{/gist_id}","starred_url":"https://api.github.com/users/TristanPouliquen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TristanPouliquen/subscriptions","organizations_url":"https://api.github.com/users/TristanPouliquen/orgs","repos_url":"https://api.github.com/users/TristanPouliquen/repos","events_url":"https://api.github.com/users/TristanPouliquen/events{/privacy}","received_events_url":"https://api.github.com/users/TristanPouliquen/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T16:18:27Z","updated_at":"2018-03-06T16:18:27Z","author_association":"NONE","body":"Pull request following issue #13 "}}
{"actor":{"display_login":"TristanPouliquen"}}