---
title: "Aspose::Email::Mime::MediaTypeNames::Text class"
url: "https://reference.aspose.com/email/cpp/aspose.email.mime.mediatypenames/text/"
product: "Aspose.Email for C++"
description: "Specifies the type of text data in an e-mail message attachment."
---


## Text class

Specifies the type of text data in an e-mail message attachment.

## Methods

| Name | Description |
| --- | --- |
| [Html](./html/) | Specifies text/html media type |
| [Plain](./plain/) | Specifies text/plain media type |
| [RichText](./richtext/) | Specifies text/richtext media type |
| [Xml](./xml/) | Specifies text/xml media type |

