Browse our Products
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-email</artifactId>
<version>24.10</version>
<classifier>jdk16</classifier>
</dependency>
compile(group: 'com.aspose', name: 'aspose-email', version: '24.10', classifier: 'jdk16')
<dependency org="com.aspose" name="aspose-email" rev="24.10">
<artifact name="aspose-email" m:classifier="jdk16" ext="jar"/>
</dependency>
libraryDependencies += "com.aspose" % "aspose-email" % "24.10"
Java Email API
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
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.
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
Aspose.Email Java APIs are hosted at the Aspose Repository. You can easily use Aspose.Email 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);
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Version | Release Date |
---|---|
24.10 | November 8, 2024 |
24.9 | October 5, 2024 |
24.8 | September 8, 2024 |
24.7 | August 5, 2024 |
24.6 | July 8, 2024 |
24.5 | June 8, 2024 |
24.4 | May 6, 2024 |
24.3.1 | April 24, 2024 |
24.3 | April 5, 2024 |
24.2 | March 10, 2024 |
24.1 | February 4, 2024 |
23.12 | January 1, 2024 |
23.11 | December 5, 2023 |
23.10 | November 20, 2023 |
23.9 | October 8, 2023 |
23.8 | September 21, 2023 |
21.2.1.1 | September 21, 2023 |
23.7 | September 3, 2023 |
21.2.0.1 | September 2, 2023 |
23.6 | July 9, 2023 |
23.4 | July 9, 2023 |
23.5 | June 12, 2023 |
23.3 | April 8, 2023 |
23.1 | March 4, 2023 |
23.2 | March 3, 2023 |
22.12 | January 2, 2023 |
22.11 | December 7, 2022 |
22.10 | November 7, 2022 |
22.9 | October 3, 2022 |
22.4 | September 9, 2022 |
22.7 | September 9, 2022 |
22.8 | September 5, 2022 |
22.6 | July 6, 2022 |
22.5 | June 6, 2022 |
22.3 | April 4, 2022 |
22.2 | March 3, 2022 |
22.1 | January 31, 2022 |
21.12 | January 5, 2022 |
21.11 | December 3, 2021 |
21.10 | November 3, 2021 |
21.9 | October 4, 2021 |
21.8 | September 2, 2021 |
21.7 | August 4, 2021 |
21.6 | July 6, 2021 |
21.5 | June 2, 2021 |
21.4 | May 6, 2021 |
21.3 | April 5, 2021 |
21.2.1 | March 4, 2021 |
21.2 | March 3, 2021 |
21.1 | February 1, 2021 |
20.12 | January 2, 2021 |
20.11 | November 30, 2020 |
20.10 | November 3, 2020 |
20.9 | October 2, 2020 |
20.8 | August 31, 2020 |
20.7 | August 4, 2020 |
20.6 | July 7, 2020 |
20.5 | June 3, 2020 |
20.4 | May 4, 2020 |
20.3 | April 3, 2020 |
20.2 | March 4, 2020 |
20.1 | February 3, 2020 |
19.12 | January 2, 2020 |
19.11 | December 2, 2019 |
19.10 | November 4, 2019 |
19.9 | October 2, 2019 |
19.8 | August 30, 2019 |
19.7 | August 1, 2019 |
19.6 | July 4, 2019 |
19.5 | June 3, 2019 |
19.4 | May 3, 2019 |
19.3 | April 3, 2019 |
19.2 | March 4, 2019 |
19.1 | February 8, 2019 |
18.12 | December 31, 2018 |
18.11 | December 4, 2018 |
18.10 | November 5, 2018 |
18.9 | October 4, 2018 |
18.8 | September 4, 2018 |
18.7 | August 4, 2018 |
18.6 | July 3, 2018 |
18.5 | June 4, 2018 |
18.4 | May 2, 2018 |
18.3 | March 26, 2018 |
18.2 | February 23, 2018 |
18.1 | January 28, 2018 |
17.12 | December 15, 2017 |
17.11 | November 29, 2017 |
17.10 | October 12, 2017 |
17.9 | September 12, 2017 |
17.8 | August 9, 2017 |
17.7 | July 10, 2017 |
17.6.0 | June 12, 2017 |
17.5.0 | May 9, 2017 |
17.4.0 | April 14, 2017 |
17.3.0 | March 28, 2017 |
17.2.0 | February 16, 2017 |
17.1.0 | January 27, 2017 |
16.12.0 | December 19, 2016 |
16.11.0 | November 15, 2016 |
16.10.0 | October 10, 2016 |
6.9.0 | September 9, 2016 |
6.8.0 | August 15, 2016 |
6.7.0 | July 12, 2016 |
6.6.0 | June 14, 2016 |
6.5.0 | May 10, 2016 |
6.4.0 | April 13, 2016 |
6.3.0 | March 11, 2016 |
6.2.0 | February 11, 2016 |
6.1.0 | January 14, 2016 |
6.0.0 | December 14, 2015 |
Aspose Total Aspose Email Aspose Java API email java library email java class MSG PST OST OFT OLM EML EMLX MBOX ICS VCF HTML MHTML mail electronic mail import email export email mail merge email embedded object email attachment email calendar email utility mime email mime email parsing pop3 email pop3 exchange email exchange imap email imap email validation icalendar protocols email protocols RFC822 bulk mail email parsing parse emails APOP RFC2195 RFC283 exchange server RFC2831 RFC2595 email authentication RFC2445 http