Aspose.Email for Android via Java empowers the software developers to design Android applications having the ability to manage and manipulate mail messages without getting lost in the complexities of Microsoft Outlook file format implementation. Android email library helps the developers manipulate mail file formats from within Android applications. API has no dependencies other than Android Runtime therefore it does not need any other APIs or software to work.
Aspose.Email for Android via Java gives you the tools that you need to create, read and manipulate Outlook MSG, PST, EML and MHT files from within an Android application. It provides the ability to manipulate message headers, contents, attachments, and Mapi properties as per the application specifications.
An overview of API.
Aspose.Email runs on any platform where Android Runtime Environment is installed.
API supports most popular message & storage file formats.
Import & export RFC822 compliant message format
Read & manipulate different message types via product API
Add, remove or extract attachments from messages
Manipulate embedded objects
Calculate date and time occurrences for complex recurrence patterns
Produce & consume recurrence patterns in the iCalendar (RFC 2445)
Load and parse emails in MSG, MHT and EML formats
Extract messages from storage files
The library makes it easy to convert different message file formats. The conversion process is, loading the source file in API's object model and calling the save function with relevant parameters. It is really that simple!
// load the document for conversion MailMessage msge = MailMessage.load(SD_PATH + "template.msg"); // Convert MSG to EML, HTML and MHTML msge.save(SD_PATH + "output.eml", SaveOptions.getDefaultEml()); msge.save(SD_PATH + "output.html", SaveOptions.getDefaultHtml()); msge.save(SD_PATH + "output.mhtml", SaveOptions.getDefaultMhtml());
Outlook android library allows you to read MSG file's MAPI properties. It supports reading all the MAPI properties or reading a specific property using the MAPI property tag.
Aspose.Email’s iCalendar API makes it possible to create and save Outlook Calendar objects in multiple formats such as MSG and ICS. You can also read calendar objects using this API.
The library enables you to read and write a Microsoft Outlook PST file. It provides access to all folders and sub-folders of a PST file so you can add, read and extract messages. Messages, contacts and calendar items can be exported and saved to disc in various formats from a PST file.
Mail API provides the ability to read and extract attachments from message files in a very simple manner. Not only can you extract attachments but also create new attachments and add these to messages.