Send/Receive Emails Using SMTP POP3 & IMAP Protocols, Send Tasks Requests
Join the DZone community and get the full member experience.Join For Free
What’s new in this release?
We are pleased to announce the new release of Aspose.Email for Java 4.9.0. This new release allows sending and receiving emails using the most common email protocols such as SMTP, POP3 and IMAP. This month’s release also brings other enhancements to the API functionality such as sending Tasks requests and removing MAPI Properties from messages and message attachments. With this month’s release, Aspose.Email for Java now supports sending email messages using the Simple Mail Transfer Protocol (SMTP). You can use the API for sending emails right from within your applications using the SMTP settings from popular email services such as Gmail, Yahoo, Hotmail or any other server. The SMTP client provides sending email messages, sending meeting requests, sending Tasks Requests, sending emails via proxy servers and listing Server Extensions. Apose.Email for Java now supports Post Office Protcol (POP) v 3.0 for connecting and retrieving email messages from mail servers. The Pop3Client class provides the entire necessary interface for instantiating communication with mail servers for manipulating messages. The POP3 Client provides features for retrieving messages such as connecting to Non-SSL and SSL-Enabled POP3 Servers, getting Mailbox Information, listing Server Extensions, retrieving Email Headers and retrieving Email Messages. Internet Message Access Protocol (IMAP) allows clients to connect and manage email messages on the mail server. Aspsoe.Email for Java API now supports the IMAP communication protocol for connecting to mail servers and retrieving email messages. The IMAP client provides several functionalities for retrieving messages such as connecting to Non-SSL and SSL-Enabled IMAP Servers, getting Folders Information from the Server, adding a new message to a folder, changing Message flags, retrieve list of messages from IMAP server, fetching messages using Sequence number, fetching messages using Unique Message Id, retrieving “N” number of messages, deleting messages from the server. This month’s release includes a number of bug fixes that further improves the overall API functionality. These include encoding issues while converting message to other formats, loss of body contents and detection of attachments as inline items, issues related to removal of MAPI properties from MSG as well as attachments and exceptions while loading messages, listing messages and interpreting messages as TNEF. The main improved features & bug fixes added in this release are listed below
- Support for SMTP
- Support for POP3
- Support for IMAP
- Provide capability of sending task requests
- Enhancement of MapiRecepient to have empty email address
- Contents of Message are disturbed
- EML->EML,MSG: Encoding issue
- EML->EML: Encoding and formatting issues
- XML attachments contents rendered during MSG->MHTML conversion
- Effect of MapiPropertyCollection.Remove() function
- EML->MHTML, wrong attachment shown as inline in body
- EML->MSG: To Header with Invalid addresses is dropped
- Saving MailMessage loses body contents
- Cyrillic characters replaced by ????? in subject while loading the EML
- MSG-MHTML: Attachment/garbled characters rendered to output
- Digital Signature lost while EML ->MSG conversion
- MSG->MSG: Danish characters turned to "?"
- Attachment name in Russian are replaced with ???????
- MapiMessage.BodyRtf changes if ToMapiMessageItem() is called
- MapiMessage Html body not updated by Outlook which is created from MailMessage
- Complete email address rendered instead of Display Name only
Other most recent bug fixes are also included in this release.Overview:Aspose.Email for Java
Aspose.Email for Java is a Non-Graphical Java component that enables Java applications to read and write Microsoft Outlook documents without utilizing Microsoft Outlook. It enables developers to create new MSG file from scratch, update an existing MSG file, read Outlook MSG file & get it's properties like subject, body, recipients in to, cc and bcc, Adding or removing attachment, sender information and MAPI properties. Aspose.Email for Java can be used with Web as well asDesktop Application.
Opinions expressed by DZone contributors are their own.