{"action":"created","issue":{"url":"https://api.github.com/repos/bbottema/simple-java-mail/issues/169","repository_url":"https://api.github.com/repos/bbottema/simple-java-mail","labels_url":"https://api.github.com/repos/bbottema/simple-java-mail/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/bbottema/simple-java-mail/issues/169/comments","events_url":"https://api.github.com/repos/bbottema/simple-java-mail/issues/169/events","html_url":"https://github.com/bbottema/simple-java-mail/issues/169","id":363612150,"node_id":"MDU6SXNzdWUzNjM2MTIxNTA=","number":169,"title":"withAttachment throws exception on 0-byte attachment","user":{"login":"jcracknell","id":1903829,"node_id":"MDQ6VXNlcjE5MDM4Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/1903829?v=4","gravatar_id":"","url":"https://api.github.com/users/jcracknell","html_url":"https://github.com/jcracknell","followers_url":"https://api.github.com/users/jcracknell/followers","following_url":"https://api.github.com/users/jcracknell/following{/other_user}","gists_url":"https://api.github.com/users/jcracknell/gists{/gist_id}","starred_url":"https://api.github.com/users/jcracknell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcracknell/subscriptions","organizations_url":"https://api.github.com/users/jcracknell/orgs","repos_url":"https://api.github.com/users/jcracknell/repos","events_url":"https://api.github.com/users/jcracknell/events{/privacy}","received_events_url":"https://api.github.com/users/jcracknell/received_events","type":"User","site_admin":false},"labels":[{"id":200709513,"node_id":"MDU6TGFiZWwyMDA3MDk1MTM=","url":"https://api.github.com/repos/bbottema/simple-java-mail/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-25T14:37:27Z","updated_at":"2018-10-04T14:51:52Z","closed_at":"2018-10-01T11:54:18Z","author_association":"NONE","body":"I would argue that an empty file is a valid attachment."},"comment":{"url":"https://api.github.com/repos/bbottema/simple-java-mail/issues/comments/427049191","html_url":"https://github.com/bbottema/simple-java-mail/issues/169#issuecomment-427049191","issue_url":"https://api.github.com/repos/bbottema/simple-java-mail/issues/169","id":427049191,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzA0OTE5MQ==","user":{"login":"jcracknell","id":1903829,"node_id":"MDQ6VXNlcjE5MDM4Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/1903829?v=4","gravatar_id":"","url":"https://api.github.com/users/jcracknell","html_url":"https://github.com/jcracknell","followers_url":"https://api.github.com/users/jcracknell/followers","following_url":"https://api.github.com/users/jcracknell/following{/other_user}","gists_url":"https://api.github.com/users/jcracknell/gists{/gist_id}","starred_url":"https://api.github.com/users/jcracknell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcracknell/subscriptions","organizations_url":"https://api.github.com/users/jcracknell/orgs","repos_url":"https://api.github.com/users/jcracknell/repos","events_url":"https://api.github.com/users/jcracknell/events{/privacy}","received_events_url":"https://api.github.com/users/jcracknell/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T14:51:52Z","updated_at":"2018-10-04T14:51:52Z","author_association":"NONE","body":"My particular usage scenario was generating a CSV attachment from an empty record set. I resolved the issue by adding a byte order mark to the output (`'\\uFEFF'`) so that it was no longer empty."}}
{"actor":{"display_login":"jcracknell"}}