Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.Email for C++ 24.6

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 458.98MB
  • Date Added:
  • 30/6/2024

Description

It contains Aspose.Email for C++ 24.6 release.

File Details

Effortless Recipient Extraction from PST Files

Extract message recipients directly by their ID within PST files using the enhanced PersonalStorage class in Aspose.Email for C++ 24.6. This feature addition eliminates the need for complex iterations, saving development time. This code sample illustrates how to extract recipients using entry ID in C++:


  auto pst = PersonalStorage::FromFile(fileName)

  // Recipients are extracted using the entry ID
  auto recipients = pst->ExtractRecipients(u"AAAAADzSMygQQFJOkKwVhb8v5EUkASAA");

Source*

The following code example highlights how to extract recipients from message info:


    auto pst = PersonalStorage::FromFile(fileName)

    // The "Inbox" folder is obtained
    auto folder = pst->get_RootFolder()->GetSubfolder(u"Inbox");

    // Each message in the "Inbox" folder is iterated
    for (auto messageInfo : IterateOver(folder->EnumerateMessages()))

    {
        // Recipients are extracted from each message
        auto recipients = pst->ExtractRecipients(messageInfo);
    }

Source*

Simplified Soft-Deleted Item Recovery

Build powerful email management apps with the ability to recover lost but not permanently deleted emails from local PST and OST files with the new FindAndExtractSoftDeletedItems method. This functionality in the C++ Email API streamlines data recovery workflows within your apps. Please check out the code sample given below to learn how to use this feature:


    auto pst = PersonalStorage.FromFile(fileName)

    // Soft deleted items are found and extracted
    auto entries = pst->FindAndExtractSoftDeletedItems();

    // The recovered items are iterated through
    for (var index = 0; index < entries->get_Count(); index++)
    {
        // Folder information is obtained by ID
        auto folderInfo = pst->GetFolderById(entries[index]->get_FolderId());

        // A directory for the folder is created if it doesn't exist
        if (!Directory::Exists(folderInfo->get_DisplayName()))
        {
            Directory::CreateDirectory(Path::Combine(path, folderInfo->get_DisplayName()));
        }
        
        // The restored item is obtained
        auto msg = entries[index]->get_Item();
        
        // The restored item is saved as a .msg file
        msg->Save(Path::Combine(path, folderInfo->get_DisplayName(), String::Format(u"{0}.msg", index)));
    }

Source*

Seamless VCF Conversion

Effortlessly convert multi-contact VCF files into MapiDistributionList objects using the static methods provided in the MapiDistributionList class of Aspose.Email for C++ 24.6. This simplifies contact management within your C++ projects, as showcased in the following coding sample:


// A multi-contact VCF file is converted to a MapiDistributionList
auto dlist = MapiDistributionList::FromVCF(fileName);

Source*

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Email for C++ 24.6 Release Notes.

 English