{ "id": "165944", "key": "AC-4785", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-02-10T13:15:32.000+0000", "created": "2017-02-10T12:51:00.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-02-11T19:24:46.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "We are developing app in which we are receiving the attachments of the type .msg and .eml. We have to provide the feature where user can open and read the attachments.\r\n\r\nBut we don’t see support in the documentviewer API call, is there any work around for the same?\r\nCurrently, as there is no API for this to handle. we are considering it as the bug.", "attachment": [], "flagged": false, "summary": "Open/ Read .msg and .eml file in Android and iOS. ", "creator": { "name": "pbansode", "key": "pbansode", "displayName": "Prafulla Bansode", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pbansode", "key": "pbansode", "displayName": "Prafulla Bansode", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "406801", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "There is no native API (neither in iOS nor in Android) to expose this functionality. So you either have to parse the files on the server and return a HTML page that displays the content or do a feature-request at Apple and Google to expose this functionality. Of course this is a new feature and not a bug.\r\n\r\nExample (https://code.google.com/archive/p/php-mime-mail-parser / PHP):\r\n{code:php}\r\nsetPath($path);\r\n\r\n$to = $Parser->getHeader('to'); \r\n$from = $Parser->getHeader('from'); \r\n$subject = $Parser->getHeader('subject'); \r\n$text = $Parser->getMessageBody('text'); \r\n$html = $Parser->getMessageBody('html'); \r\n$attachments = $Parser->getAttachments();\r\n\r\necho json_encode(array(\r\n 'to' => $to,\r\n 'from' => $from,\r\n 'text' => $text,\r\n 'html' => $html,\r\n 'attachments' => $attachments,\r\n));\r\n?>\r\n{code}\r\nResolving until the native SDK's support this functionality.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-10T13:15:27.000+0000", "updated": "2017-02-11T19:24:46.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }