Support for TLS 1.2 and AutodiscoverService
Aspose.Email for Java now supports TLS 1.2 by using SAAJ API. The EWSClient provides a static property useSAAJAPI which can be set to true for using TLS 1.2. Aspose.Email for Java also supports AutodiscoverService for TLS 1.2. The following code samples demonstrate the use of SAAJ API and AutodiscoverService for TLS 1.2.
Use SAAJ API
The following code sample demonstrates using the SAAJ API by setting EWSClient.useSAAJAPI property to true.
The following code sample demonstrates the use of AutodiscoverService for TLS 1.2