Aspose.Email for Java 20.2 Release Notes

Contents
[ ]

All Changes

KeySummaryCategory
EMAILNET-39697Supporting OAuth 2.0 using POP3ClientFeature
EMAILNET-39747Length cannot be less than zero on loading EMLBug
EMAILNET-39746From email information is missing in exported MHTMLBug
EMAILNET-39734AlternateView not added when loading a MHTML and not adding any attachmentBug
EMAILNET-39732DKIM Signing failed with body hash errorBug
EMAILNET-39727IMAPClient.ListMessages stops reading and throws exception Invalid Win32-FileTimeBug
EMAILNET-39735Email with VCalendar throws exceptionBug
EMAILNET-39703How check Read/Unread status of messages from thunderbird Mbox file (C# .NET)Bug
EMAILNET-39729Converted MSG to EML do not have full email addressesBug
EMAILNET-39726Object reference exception on listing messages from folderBug
EMAILNET-39700IMAP Client: Version 19.12 not correctly parses email recipient list if a comma is included in the DisplayNameBug
EMAILNET-39725Exception on loding IEWSClient in .NET Core environmentBug
EMAILNET-39733Keeping the charset of the original message after adding it to PSTBug
EMAILNET-39724Messages extracted from PST corrupted (2)Bug
EMAILNET-39711Extracting Emails From OLM FileBug
EMAILNET-39713Export to MHTML never completesBug
EMAILNET-39714MapiMessage.ToMailMessage is crashing the processBug
EMAILNET-39739Not all attachements are extracted from MSGBug
EMAILJAVA-34653Messages extracted from PST corruptedBug

New features

Supporting OAuth 2.0 using POP3Client

What is POP3 Client?

The POP3 Client is used to retrieve mail messages with attachments and mail information from a POP3 server.

What is OAuth 2.0?

OAuth 2.0 is the protocol for authorization. OAuth 2.0 provides specific authorization ways for applications.

Now, Pop3Client supports OAuth authorization as it is in SMTP and IMAP clients. The following constructors were added to initialize POP3Client using OAuth: 


 public Pop3Client(

            String host, /*The host name*/

            int port, /*The port number*/ 

            String username, /*The user name*/

            ITokenProvider tokenProvider, /*TokenProvider allowing to retrieve access token*/

            /*SecurityOptions*/int securityOptions) /*Security mode for a mail client*/



public Pop3Client(

            String host, /*The host name*/

            int port, /*The port number*/

            String username, /*The user name*/

            String authInfo, /*The user password or XOAUTH2 access token*/

            boolean useOAuth, /*Defines whether SASL XOAUTH2 mechanism is used to login to the server*/

            /*SecurityOptions*/int securityOptions) /*Security mode for a mail client*/