Java Email API
Aspose.Email for Java is a complete set of Email Processing APIs to create, read and manipulate emails from within your applications. It makes it easier to work with many Outlook email message formats such as MSG, EML, EMLX and MHT files without the need of installing Microsoft Outlook. It also enables you to manage message storage files - Personal Storage Files (PST), Offline Storage Files (OST) along with message sending and receiving capabilities. You can also read and extract Outlook PST file that can be saved to disk in MSG format.
Directory | Description |
---|---|
Examples | A collection of Java examples that help you learn the product features. |
Plugins | Plugins that will demonstrate one or more features of Aspose.Email for Java. |
Email API Features
- Create messages from scratch or load existing email files for editing.
- Create and Set contents of MIME messages.
- Extract contents from emails.
- Load and save appointment in ICS format.
- Ability to connect to SMTP, POP3, IMAP, Exchange server.
- Works with Thunderbird, Zimbra and IBM Notes.
Read & Write Email Formats
Microsoft Outlook: MSG, PST, OST, OFT
Email: EML, EMLX, MBOX
Others: ICS, VCF, HTML, MHTML
Read Email Formats
Mac Outlook: OLM
Supported Environments
- Microsoft Windows: Windows Desktop & Server (x86, x64)
- macOS: Mac OS X
- Linux: Ubuntu, OpenSUSE, CentOS, and others
-
Java Versions:
J2SE 7.0 (1.7)
,J2SE 8.0 (1.8)
Get Started with Aspose.Email for Java
Aspose hosts all Java APIs at the Aspose Repository. You can easily use Aspose.BarCode for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.Email for Java from Maven Repository documentation page.
Perform IMAP Message Backup Operation using Java
ImapClient imapClient = new ImapClient();
imapClient.setHost("<HOST>");
imapClient.setPort(993);
imapClient.setUsername("<USERNAME>");
imapClient.setPassword("<PASSWORD>");
imapClient.setSupportedEncryption(EncryptionProtocols.Tls);
imapClient.setSecurityOptions(SecurityOptions.SSLImplicit);
ImapMailboxInfo mailboxInfo = imapClient.getMailboxInfo();
ImapFolderInfo info = imapClient.getFolderInfo(mailboxInfo.getInbox().getName());
ImapFolderInfoCollection infos = new ImapFolderInfoCollection();
infos.add(info);
imapClient.backup(infos, dataDir + "\\ImapBackup.pst", BackupOptions.None);
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License