Browse our Products

Aspose.Email for CPP 22.5 Release Notes

Aspose.Email for C++ 22.5 is based on Aspose.Email for .NET 22.4.

New Features

Changes in the setting of the X-ALT-DESC header in ICS file

We introduced a separate HtmlDescription property instead of the IsDescriptionHtml property to set the X-ALT-DESC header.

 System::SharedPtr<Aspose::Email::Calendar::Appointment> appointment =
    System::MakeObject<Aspose::Email::Calendar::Appointment>
        (u"Bygget 83",
        System::DateTime::get_Now(),
        System::DateTime::get_Now().AddHours(1),
        Aspose::Email::MailAddress::to_MailAddress(u"TintinStrom@from.com"),
        Aspose::Email::MailAddress::to_MailAddress(u"AinaMartensson@to.com"))

    appointment->set_HtmlDescription(u8R"(
    <html>
     <style type=""text/css"">
      .text {
             font-family:'Comic Sans MS';
             font-size:16px;
            }
     </style>
    <body>
     <p class=""text"">Hi, I'm happy to invite you to our party.</p>
    </body>
    </html>
)")

The full code of the examples can be found at Aspose Email for C++ GitHub examples repository.