Java APIs to manipulate Email documents
Develop Java applications having the ability to Create, Manipulate or Convert message file formats without requiring Outlook.Download Free Trial
Aspose.Email for Java
Aspose.Email for Java is a set of email processing APIs to create, manipulate or convert message formats such as MSG, EML & MHT from within Java applications. The API provides the ability to manipulate message contents, headers, attachments and Mapi properties as well as capability to send and receive messages via a number of popular protocols
Aspose.Email for Java provides the ability to manage message storage files such as Personal Storage Files (PST) & Offline Storage Files (OST) thus allowing you to list, extract, add or remove messages as per your application requirements.
At A Glance
Overview of Aspose.Email for Java.
- Create PST & OST files
- Manage Messages in PST
- Manage Contacts in PST
- Manage Calendar Items in PST
- Manage Tasks, Notes, Journals
- Creation of Distribution Lists
- Email Connection Protocols
- Supports SSL Enabled Servers
- Supports Connection Timeout
- Work with Gmail Contacts
- Work with Gmail Calendar
- Validate Email Addresses
- Validate Email Syntax
- Validate Email Domain
- Validate MX Records
- Create plain & HTML emails
- Load Variety of Email Formats
- Interconvert Messages
- Support for Templates
- Alternative Message Bodies
- Manage Embedded Objects
- Manage Attachments
- Save Message as Draft
- Manage Email Headers
- Read & Write to Thunderbird Mail Storage
- Recurrence Patterns
- Create Appointment
- Export Appointment to ICS file
- Format Appointment text
- Read Appointment Info
- Send Appointment Request
Aspose.Email for Java only requires Java to work.
- JSP/JSF Application
- Desktop Application
Supported File Formats
Aspose.Email for Java supports most commonly used message & message storage formats.
- Microsoft Outlook: MSG, PST, OST, OFT
- Email: EML, EMLX, MBOX
Create & manipulate messages
Inter-convert message formats
Extract message header details
Extract & manipulate attachments
Create HTML formatted messages
Create message in draft mode (MSG only)
Read nested email attachments
Retrieve multiple recipients
Access MAPI properties
Dynamically Convert MSG to EML, HTML & MHTML
The Java Email API provides easy-to-use interfaces for the conversion of supported message file formats. In order to perform a conversion, all you need to do is to load the source file in Aspose.Email object model and call the save method with appropriate parameters. It is really that simple!
Save message in different formats - Java
// load the file to be converted MailMessage message; message = MailMessage.load(dir + "template.msg"); // save in different formats message.save(dir + "output.eml", SaveOptions.getDefaultEml()); message.save(dir + "output.html", SaveOptions.getDefaultHtml()); message.save(dir + "output.mhtml", SaveOptions.getDefaultMhtml());
Manage Message Storage Files
Aspose.Email for Java allows you to manage Outlook storage files. You can load PST & OST files from disk or a stream, get folder and sub-folder information from the message archive, retrieve message specific details such as subject, sender, recipient and save messages to either disk or stream.
Manage Calendar Objects with iCalendar API
Aspose.Email for Java provides you the capability to create and save Outlook Calendar objects through its iCalendar API. Not only you can extract the Calendar objects in various formats and save them as MSG or ICS files but you can also send, retrieve, update and cancel meeting requests through message sending protocols.
SMTP, POP3 & IMAP Support
Aspose.Email for Java allows you to establish connection with an email servers in order to send or receive emails via POP3, IMAP and SMTP protocols over SSL.
Microsoft Office Automation – Not Needed
Aspose.Email for Java is built using managed code that does not need Microsoft Office or Microsoft Outlook to be installed on the machine to work with emails processing. It is a perfect Microsoft Outlook automation alternative in terms of supported features, security, stability, scalability, speed and price.