Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
64 changes: 59 additions & 5 deletions english/cpp/_index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,63 @@
---
title: Aspose.Email for C++
title: "Aspose.Email for C++"
linktitle: "Aspose.Email for C++"
articleTitle: "Aspose.Email for C++"
description: "Aspose.Email for C++ provides a comprehensive .NET‑style library for creating, reading, converting, and managing email messages and related data."
type: docs
weight: 12
weight: 10
url: /cpp/
keywords:
description:
keywords: "Aspose.Email for C++, Aspose.Email, Aspose API Reference"
is_root: true
---
---

Developers can compose, parse, convert, and manipulate email messages, appointments, contacts, and attachments across formats such as EML, MSG, MHTML, PST, MBOX, and NSF. The API is divided into logical namespaces—core email handling, client protocols (IMAP, POP3, SMTP, Exchange, Google, Graph), MAPI support, MIME utilities, storage engines, and auxiliary tools—allowing easy navigation of functionality. Each namespace groups related classes, from anti‑spam filters and bounce handling to calendar recurrences and vCard processing.

## Namespaces

| Namespace | Description |
| --- | --- |
| [Aspose::Email](./aspose.email/) | The Aspose::Email namespace offers classes and enums for creating, manipulating, and saving email messages and their components. |
| [Aspose::Email::Amp](./aspose.email.amp/) | The Aspose::Email::Amp namespace provides classes for creating and manipulating AMP (Accelerated Mobile Pages) email components. |
| [Aspose::Email::AntiSpam](./aspose.email.antispam/) | Provides tools for analyzing and classifying email messages to detect spam using heuristic and Bayesian methods. |
| [Aspose::Email::Bounce](./aspose.email.bounce/) | Provides classes and enums for detecting, classifying, and processing email bounces and delivery status notifications. |
| [Aspose::Email::Calendar](./aspose.email.calendar/) | The Aspose::Email::Calendar namespace offers classes and enums for creating, loading, saving, and managing iCalendar appointments and reminders. |
| [Aspose::Email::Calendar::Recurrences](./aspose.email.calendar.recurrences/) | Provides classes and enums for defining and handling calendar recurrence rules in Aspose.Email for C++. |
| [Aspose::Email::Clients](./aspose.email.clients/) | The Aspose::Email::Clients namespace supplies core client abstractions and utilities for sending, receiving, and managing email communications. |
| [Aspose::Email::Clients::Activity](./aspose.email.clients.activity/) | Provides classes for interacting with Exchange server activity data, such as folder synchronization and management. |
| [Aspose::Email::Clients::Exchange](./aspose.email.clients.exchange/) | Provides classes and utilities for interacting with Microsoft Exchange services, including autodiscover, appointment queries, and comparison adapters. |
| [Aspose::Email::Clients::Exchange::Dav](./aspose.email.clients.exchange.dav/) | Provides classes and enums for interacting with Microsoft Exchange Server via the WebDAV protocol, enabling email, calendar, and contact operations. |
| [Aspose::Email::Clients::Exchange::WebService](./aspose.email.clients.exchange.webservice/) | Provides classes and enums for interacting with Microsoft Exchange Web Services, including calendar, conversation, and deletion operations. |
| [Aspose::Email::Clients::Exchange::WebService::Models](./aspose.email.clients.exchange.webservice.models/) | Provides model classes for Exchange Web Services operations such as appending messages, archiving items, fetching items, finding people, and updating items. |
| [Aspose::Email::Clients::Google](./aspose.email.clients.google/) | The Aspose::Email::Clients::Google namespace offers C++ classes and enums to work with Google email and calendar APIs. |
| [Aspose::Email::Clients::Graph](./aspose.email.clients.graph/) | Provides C++ classes for interacting with Microsoft Graph email, calendar, and folder resources via Aspose.Email. |
| [Aspose::Email::Clients::Imap](./aspose.email.clients.imap/) | Provides classes and enums for interacting with IMAP servers, handling messages, attachments, searches, and backup operations. |
| [Aspose::Email::Clients::Imap::Models](./aspose.email.clients.imap.models/) | Provides model classes and parameter objects for IMAP operations such as fetching, copying, moving, and flag manipulation. |
| [Aspose::Email::Clients::Pop3](./aspose.email.clients.pop3/) | Provides POP3 client functionality, including connection handling, mailbox queries, message retrieval, and authentication support. |
| [Aspose::Email::Clients::Pop3::Models](./aspose.email.clients.pop3.models/) | Provides POP3 client models for loading message info lists and saving messages in Aspose.Email for C++. |
| [Aspose::Email::Clients::Smtp](./aspose.email.clients.smtp/) | Provides classes and interfaces for sending email via SMTP, handling delivery results, and managing transmission errors. |
| [Aspose::Email::Clients::Smtp::Models](./aspose.email.clients.smtp.models/) | The Aspose::Email::Clients::Smtp::Models namespace defines model objects used by the SMTP client for sending and forwarding email. |
| [Aspose::Email::Clients::TokenProvider](./aspose.email.clients.tokenprovider/) | Provides token provider implementations for authenticating email clients with services such as Google and Outlook. |
| [Aspose::Email::Common::Buffers](./aspose.email.common.buffers/) | Provides high‑performance buffer utilities, notably a generic ArrayPool<T> for efficient array reuse. |
| [Aspose::Email::Common::Delegate](./aspose.email.common.delegate/) | Provides delegate types and related argument classes for handling email item events in Aspose.Email. |
| [Aspose::Email::Common::Transform](./aspose.email.common.transform/) | Provides transformation utilities for email content, including HTML‑to‑plain‑text conversion. |
| [Aspose::Email::Common::Utils::LinqEnumerable](./aspose.email.common.utils.linqenumerable/) | Provides LINQ-style extension methods and utilities for querying collections in Aspose.Email C++ library. |
| [Aspose::Email::Mapi](./aspose.email.mapi/) | Provides classes and interfaces for creating, parsing, and managing MAPI objects such as messages, contacts, and follow‑up information. |
| [Aspose::Email::Mapi::MapiPropertyTag](./aspose.email.mapi.mapipropertytag/) | The Aspose::Email::Mapi::MapiPropertyTag namespace defines MAPI property tag constants and related types for email message handling. |
| [Aspose::Email::Mapi::Msg](./aspose.email.mapi.msg/) | Provides classes and enums for creating, accessing, and manipulating MAPI MSG message objects and their attachments in Aspose.Email for C++. |
| [Aspose::Email::MhtTemplateName](./aspose.email.mhttemplatename/) | Provides predefined MHT template identifiers for rendering common Outlook items such as contacts and tasks. |
| [Aspose::Email::Mime](./aspose.email.mime/) | The Aspose::Email::Mime namespace offers classes and enums for creating, parsing, and managing MIME content, headers, and disposition information. |
| [Aspose::Email::Mime::MediaTypeNames](./aspose.email.mime.mediatypenames/) | Provides strongly‑typed constants for standard MIME media type names (application, image, text) used in email messages. |
| [Aspose::Email::PersonalInfo](./aspose.email.personalinfo/) | The Aspose::Email::PersonalInfo namespace provides classes and enums for handling personal contact information, including persons, email addresses, photos, and events. |
| [Aspose::Email::PersonalInfo::VCard](./aspose.email.personalinfo.vcard/) | The Aspose::Email::PersonalInfo::VCard namespace provides classes and enums for creating, parsing, and managing vCard contact data. |
| [Aspose::Email::Storage](./aspose.email.storage/) | Provides classes and enums for converting, creating, and managing email storage formats such as PST, MBOX, and MIME. |
| [Aspose::Email::Storage::Mbox](./aspose.email.storage.mbox/) | Provides classes and enums for reading, writing, and managing MBOX email storage formats. |
| [Aspose::Email::Storage::Nsf](./aspose.email.storage.nsf/) | Provides classes for loading and interacting with IBM Lotus Notes/Domino NSF files. |
| [Aspose::Email::Storage::Olm](./aspose.email.storage.olm/) | The Aspose::Email::Storage::Olm namespace provides classes for accessing and manipulating Outlook .olm files and their contents. |
| [Aspose::Email::Storage::Pst](./aspose.email.storage.pst/) | Provides classes and enums for managing PST folder structures, messages, and events within Aspose.Email for C++. |
| [Aspose::Email::Storage::Zimbra](./aspose.email.storage.zimbra/) | Provides classes for reading and processing Zimbra storage files, such as TGZ archives, within Aspose.Email for C++. |
| [Aspose::Email::Tools](./aspose.email.tools/) | The Aspose::Email::Tools namespace offers utility classes for email format detection and for constructing forward, reply, and response messages. |
| [Aspose::Email::Tools::Logging](./aspose.email.tools.logging/) | Provides logging utilities for Aspose.Email, including appenders, formatters, and exception handling. |
| [Aspose::Email::Tools::Logging::FileAppender](./aspose.email.tools.logging.fileappender/) | The Aspose::Email::Tools::Logging::FileAppender namespace supplies file‑based logging components for Aspose.Email, such as the FileAppenderWorker class. |
| [Aspose::Email::Tools::Search](./aspose.email.tools.search/) | The Aspose::Email::Tools::Search namespace supplies a set of comparison field classes for constructing type‑safe email search criteria. |
| [Aspose::Email::Tools::Verifications](./aspose.email.tools.verifications/) | Provides tools for validating email addresses, domains, mail servers, and message content. |

45 changes: 45 additions & 0 deletions english/cpp/aspose.email.amp/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
title: "Aspose::Email::Amp namespace"
linktitle: "Aspose::Email::Amp"
articleTitle: "Aspose::Email::Amp"
second_title: "Aspose.Email for C++"
description: "The Aspose::Email::Amp namespace provides classes for creating and manipulating AMP (Accelerated Mobile Pages) email components."
type: docs
weight: 10
url: /cpp/aspose.email.amp/
---

## Aspose::Email::Amp namespace

This namespace groups the AMP-specific objects such as accordions, carousels, forms, images, and other interactive elements used in AMP email markup. Use these classes to programmatically build rich, mobile‑optimized email content with Aspose.Email for C++.


## Classes

| Name | Description |
| --- | --- |
| [AmpAccordion](./ampaccordion/) | A UI element that facilitates showing/hiding different sections. |
| [AmpAnim](./ampanim/) | A runtime-managed animated image, typically a GIF. |
| [AmpAttributes](./ampattributes/) | Represents attributes used by the amp-components. |
| [AmpCarousel](./ampcarousel/) | Component allows displaying multiple similar pieces of content along a horizonta |
| [AmpComponent](./ampcomponent/) | Base class to representation amp components. |
| [AmpFitText](./ampfittext/) | Expands or shrinks its font size to fit the content within the space given to it |
| [AmpForm](./ampform/) | The amp-form extension allows you to create forms to submit input fields in an A |
| [AmpImage](./ampimage/) | |
| [AmpMessage](./ampmessage/) | Message which allows senders to include AMP components inside emails. |
| [AmpTimeago](./amptimeago/) | Provides fuzzy timestamps by formatting dates as "X time ago" |
| [FormField](./formfield/) | Describe one field of form. |
| [Section](./section/) | Element of AmpAccordion . |
| [SectionHeader](./sectionheader/) | Represents the heading for the section |
| [SectionValue](./sectionvalue/) | Represents the content of the section. |

## Enumerations

| Name | Description |
| --- | --- |
| [CarouselType](./carouseltype/) | Specifies the display type for the carousel items. |
| [FormMethod](./formmethod/) | The method tells the server about the request method. |
| [FormTarget](./formtarget/) | Indicates where to display the form response after submitting the form. The valu |
| [LayoutType](./layouttype/) | The layout attribute gives you easy, per-element control over how your element s |
| [SectionHeaderType](./sectionheadertype/) | Represents the type of heading for the section. |

36 changes: 36 additions & 0 deletions english/cpp/aspose.email.amp/ampaccordion/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: "Aspose::Email::Amp::AmpAccordion class"
linktitle: "AmpAccordion"
articleTitle: "AmpAccordion"
second_title: "Aspose.Email for C++"
description: "A UI element that facilitates showing/hiding different sections."
type: docs
weight: 10
url: /cpp/aspose.email.amp/ampaccordion/
---

## AmpAccordion class

**Inherits:** Aspose::Email::Amp::AmpComponent

A UI element that facilitates showing/hiding different sections.

## Constructors

| Name | Description |
| --- | --- |
| [AmpAccordion](./ampaccordion/) | |

## Methods

| Name | Description |
| --- | --- |
| [get_DisableSessionStates](./get_disablesessionstates/) | Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion. |
| [get_ExpandSingleSection](./get_expandsinglesection/) | Set this attribute on the amp-accordion to only allow one section to be expanded at a time. |
| [get_RequiredScript](./get_requiredscript/) | Required script that muct be added to head section. |
| [get_Sections](./get_sections/) | List of sections. |
| [set_DisableSessionStates](./set_disablesessionstates/) | Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion. |
| [set_ExpandSingleSection](./set_expandsinglesection/) | Set this attribute on the amp-accordion to only allow one section to be expanded at a time. |
| [ToAmpHtml](./toamphtml/) | Represents amp html version of component. |
| [ToHtml](./tohtml/) | Represents html version of component. |

19 changes: 19 additions & 0 deletions english/cpp/aspose.email.amp/ampaccordion/ampaccordion/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: "Aspose::Email::Amp::AmpAccordion::AmpAccordion constructor"
linktitle: "AmpAccordion"
articleTitle: "AmpAccordion"
second_title: "Aspose.Email for C++"
description: "AmpAccordion of AmpAccordion."
type: docs
weight: 10
url: /cpp/aspose.email.amp/ampaccordion/ampaccordion/
---

## AmpAccordion {#ampaccordion}

**Returns:** Aspose::Email::Amp::

```cpp
AmpAccordion()
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Email::Amp::AmpAccordion::get_DisableSessionStates method"
linktitle: "get_DisableSessionStates"
articleTitle: "get_DisableSessionStates"
second_title: "Aspose.Email for C++"
description: "Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion."
type: docs
weight: 10
url: /cpp/aspose.email.amp/ampaccordion/get_disablesessionstates/
---

## get_DisableSessionStates {#get_disablesessionstates}

Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion.

**Returns:** bool Aspose::Email::Amp::

```cpp
get_DisableSessionStates()
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Email::Amp::AmpAccordion::get_ExpandSingleSection method"
linktitle: "get_ExpandSingleSection"
articleTitle: "get_ExpandSingleSection"
second_title: "Aspose.Email for C++"
description: "Set this attribute on the amp-accordion to only allow one section to be expanded at a time."
type: docs
weight: 20
url: /cpp/aspose.email.amp/ampaccordion/get_expandsinglesection/
---

## get_ExpandSingleSection {#get_expandsinglesection}

Set this attribute on the amp-accordion to only allow one section to be expanded at a time.

**Returns:** bool Aspose::Email::Amp::

```cpp
get_ExpandSingleSection()
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Email::Amp::AmpAccordion::get_RequiredScript method"
linktitle: "get_RequiredScript"
articleTitle: "get_RequiredScript"
second_title: "Aspose.Email for C++"
description: "Required script that muct be added to head section."
type: docs
weight: 30
url: /cpp/aspose.email.amp/ampaccordion/get_requiredscript/
---

## get_RequiredScript {#get_requiredscript}

Required script that muct be added to head section.

**Returns:** System::String Aspose::Email::Amp::

```cpp
get_RequiredScript()
```

21 changes: 21 additions & 0 deletions english/cpp/aspose.email.amp/ampaccordion/get_sections/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Email::Amp::AmpAccordion::get_Sections method"
linktitle: "get_Sections"
articleTitle: "get_Sections"
second_title: "Aspose.Email for C++"
description: "List of sections."
type: docs
weight: 40
url: /cpp/aspose.email.amp/ampaccordion/get_sections/
---

## get_Sections {#get_sections}

List of sections.

**Returns:** System::SharedPtr <System::Collections::Generic::ListExt< System::SharedPtr < Section > > > Aspose::Email::Amp::

```cpp
get_Sections()
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Aspose::Email::Amp::AmpAccordion::set_DisableSessionStates method"
linktitle: "set_DisableSessionStates"
articleTitle: "set_DisableSessionStates"
second_title: "Aspose.Email for C++"
description: "Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion."
type: docs
weight: 50
url: /cpp/aspose.email.amp/ampaccordion/set_disablesessionstates/
---

## set_DisableSessionStates {#set_disablesessionstates}

Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion.

**Returns:** void Aspose::Email::Amp::

```cpp
set_DisableSessionStates(bool value)
```

| Parameter | Description |
| --- | --- |
| value | |

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Aspose::Email::Amp::AmpAccordion::set_ExpandSingleSection method"
linktitle: "set_ExpandSingleSection"
articleTitle: "set_ExpandSingleSection"
second_title: "Aspose.Email for C++"
description: "Set this attribute on the amp-accordion to only allow one section to be expanded at a time."
type: docs
weight: 60
url: /cpp/aspose.email.amp/ampaccordion/set_expandsinglesection/
---

## set_ExpandSingleSection {#set_expandsinglesection}

Set this attribute on the amp-accordion to only allow one section to be expanded at a time.

**Returns:** void Aspose::Email::Amp::

```cpp
set_ExpandSingleSection(bool value)
```

| Parameter | Description |
| --- | --- |
| value | |

21 changes: 21 additions & 0 deletions english/cpp/aspose.email.amp/ampaccordion/toamphtml/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Email::Amp::AmpAccordion::ToAmpHtml method"
linktitle: "ToAmpHtml"
articleTitle: "ToAmpHtml"
second_title: "Aspose.Email for C++"
description: "Represents amp html version of component."
type: docs
weight: 70
url: /cpp/aspose.email.amp/ampaccordion/toamphtml/
---

## ToAmpHtml {#toamphtml}

Represents amp html version of component.

**Returns:** System::String Aspose::Email::Amp::

```cpp
ToAmpHtml()
```

21 changes: 21 additions & 0 deletions english/cpp/aspose.email.amp/ampaccordion/tohtml/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Email::Amp::AmpAccordion::ToHtml method"
linktitle: "ToHtml"
articleTitle: "ToHtml"
second_title: "Aspose.Email for C++"
description: "Represents html version of component."
type: docs
weight: 80
url: /cpp/aspose.email.amp/ampaccordion/tohtml/
---

## ToHtml {#tohtml}

Represents html version of component.

**Returns:** System::String Aspose::Email::Amp::

```cpp
ToHtml()
```

32 changes: 32 additions & 0 deletions english/cpp/aspose.email.amp/ampanim/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: "Aspose::Email::Amp::AmpAnim class"
linktitle: "AmpAnim"
articleTitle: "AmpAnim"
second_title: "Aspose.Email for C++"
description: "A runtime-managed animated image, typically a GIF."
type: docs
weight: 10
url: /cpp/aspose.email.amp/ampanim/
---

## AmpAnim class

**Inherits:** Aspose::Email::Amp::AmpImage

A runtime-managed animated image, typically a GIF.

## Constructors

| Name | Description |
| --- | --- |
| [AmpAnim](./ampanim/) | Creates instance of AmpAnim . |

## Methods

| Name | Description |
| --- | --- |
| [get_Attribution](./get_attribution/) | A string that indicates the attribution of the image. |
| [get_RequiredScript](./get_requiredscript/) | Required script that muct be added to head section. |
| [set_Attribution](./set_attribution/) | A string that indicates the attribution of the image. |
| [ToAmpHtml](./toamphtml/) | Represents amp html version of component. |

Loading
Loading