Browse our Products

Aspose.Email for CPP 20.4 Release Notes

Aspose.Email for C++ 20.4 is based on Aspose.Email for .NET 20.4.

New features

Support For The Ability To Ignore Exceptions

ExceptionManager class has been added to provide ignore exceptions ability

Code examples:


 #include <Exceptions/ExceptionManager.h>

// Ignore all exception

ExceptionManager::set_IgnoreAll(true);

// Set a callback to handle exceptions

bool IgnoreExceptionsHandler(AsposeException ex, System::String path)

{

   return path == u"MailMessage\\Load");

}

ExceptionManager::set_IgnoreExceptionsHandler(&IgnoreExceptionsHandler);

// Or use an alternative:

ExceptionManager::get_IgnoreList()->Add(u"MailMessage\\Load");

// Also, you can set a callback for ignored exceptions log

void CustomExceptionLogHandler(System::String message)

{

  System::Console::WriteLine(System::String(u"###") + message);

}

ExceptionManager::set_IgnoreExceptionsLogHandler(&CustomExceptionHandler);

Features not implemented

The following features are not implemented in Aspose.Email for C++ 20.4 but they are implemented in Aspose.Email for .NET 20.4:

  • Microsoft Graph REST API v1.0

API Resources

The following API resources can be of help to you in getting started with Aspose.Email API.