{"action":"created","issue":{"url":"https://api.github.com/repos/ddeboer/imap/issues/71","labels_url":"https://api.github.com/repos/ddeboer/imap/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/ddeboer/imap/issues/71/comments","events_url":"https://api.github.com/repos/ddeboer/imap/issues/71/events","html_url":"https://github.com/ddeboer/imap/issues/71","id":55810963,"number":71,"title":"$message->getAttachments() does not return anything, even though a message has at least one attachment","user":{"login":"raulp","id":3310232,"avatar_url":"https://avatars.githubusercontent.com/u/3310232?v=3","gravatar_id":"","url":"https://api.github.com/users/raulp","html_url":"https://github.com/raulp","followers_url":"https://api.github.com/users/raulp/followers","following_url":"https://api.github.com/users/raulp/following{/other_user}","gists_url":"https://api.github.com/users/raulp/gists{/gist_id}","starred_url":"https://api.github.com/users/raulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulp/subscriptions","organizations_url":"https://api.github.com/users/raulp/orgs","repos_url":"https://api.github.com/users/raulp/repos","events_url":"https://api.github.com/users/raulp/events{/privacy}","received_events_url":"https://api.github.com/users/raulp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T20:30:17Z","updated_at":"2015-01-29T06:22:20Z","closed_at":"2015-01-29T06:22:20Z","body":"Hey\r\n\r\nWhen calling getAttachments, i don't get anything back\r\nUpon doing some research, i saw that the function getParts() is not returning the parts as instance of Message\\Attachments, but the getAttachments() function is looking for that\r\nLooking further in the getParts function i saw that my parts don't show up a disposition ( which is why the parts are returned as a Part instead of an Attachment instance )\r\n\r\nHere's a gist with the array returned by parseStructure() for all the elements of my email:\r\nhttps://gist.github.com/raulp/ce7236054284e751f713\r\n\r\nLet me know if you need any other info ...\r\nThank you\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ddeboer/imap/issues/comments/71975003","html_url":"https://github.com/ddeboer/imap/issues/71#issuecomment-71975003","issue_url":"https://api.github.com/repos/ddeboer/imap/issues/71","id":71975003,"user":{"login":"ddeboer","id":89267,"avatar_url":"https://avatars.githubusercontent.com/u/89267?v=3","gravatar_id":"","url":"https://api.github.com/users/ddeboer","html_url":"https://github.com/ddeboer","followers_url":"https://api.github.com/users/ddeboer/followers","following_url":"https://api.github.com/users/ddeboer/following{/other_user}","gists_url":"https://api.github.com/users/ddeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/ddeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddeboer/subscriptions","organizations_url":"https://api.github.com/users/ddeboer/orgs","repos_url":"https://api.github.com/users/ddeboer/repos","events_url":"https://api.github.com/users/ddeboer/events{/privacy}","received_events_url":"https://api.github.com/users/ddeboer/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T06:22:20Z","updated_at":"2015-01-29T06:22:20Z","body":"Closing as a duplicate of #55. Thanks for reporting though, I understand this is a real issue and fix it soon. "}}