## MhtTemplateName class

The names of the headers that can be rendered when a message is saved to HTML or MHTML.

```csharp
public static class MhtTemplateName
```

## Fields

| Name | Description |
| --- | --- |
| const [Attachments](../../aspose.email/mhttemplatename/attachments/) | The name of the header with the list of attachments. |
| const [Bcc](../../aspose.email/mhttemplatename/bcc/) | The name of the header with the BCC recipients. |
| const [Categories](../../aspose.email/mhttemplatename/categories/) | The name of the header with the categories. |
| const [Cc](../../aspose.email/mhttemplatename/cc/) | The name of the header with the CC recipients. |
| const [DateTime](../../aspose.email/mhttemplatename/datetime/) | The name of the header with the date and time. |
| const [End](../../aspose.email/mhttemplatename/end/) | The name of the header with the end of an event. |
| const [From](../../aspose.email/mhttemplatename/from/) | The name of the header with the author. |
| const [Importance](../../aspose.email/mhttemplatename/importance/) | The name of the header with the importance. |
| const [Location](../../aspose.email/mhttemplatename/location/) | The name of the header with the location of an event. |
| const [OptionalAttendees](../../aspose.email/mhttemplatename/optionalattendees/) | The name of the header with the optional attendees of an event. |
| const [Organizer](../../aspose.email/mhttemplatename/organizer/) | The name of the header with the organizer of an event. |
| const [PageHeader](../../aspose.email/mhttemplatename/pageheader/) | The name of the header with the page header. |
| const [Recurrence](../../aspose.email/mhttemplatename/recurrence/) | The name of the header with the recurrence of an event. |
| const [RecurrencePattern](../../aspose.email/mhttemplatename/recurrencepattern/) | The name of the header with the recurrence pattern of an event. |
| const [RequiredAttendees](../../aspose.email/mhttemplatename/requiredattendees/) | The name of the header with the required attendees of an event. |
| const [Sent](../../aspose.email/mhttemplatename/sent/) | The name of the header with the date sent. |
| const [ShowTimeAs](../../aspose.email/mhttemplatename/showtimeas/) | The name of the header with the busy status of an event. |
| const [Start](../../aspose.email/mhttemplatename/start/) | The name of the header with the start of an event. |
| const [Subject](../../aspose.email/mhttemplatename/subject/) | The name of the header with the subject. |
| const [TabField](../../aspose.email/mhttemplatename/tabfield/) | The name of the template used to indent the continuation lines of a multi-line header. |
| const [To](../../aspose.email/mhttemplatename/to/) | The name of the header with the To recipients. |

## Remarks

Use the names as keys of [`FormatTemplates`](../headersformattingoptions/formattemplates/) to change how a header is written, or add them to [`RenderingHeaders`](../headersformattingoptions/renderingheaders/) to choose which headers are written. The names of contact and task fields are in [`Contact`](../mhttemplatename.contact/) and [`Task`](../mhttemplatename.task/).

### See Also

* namespace [Aspose.Email](../../aspose.email/)
* assembly [Aspose.Email](../../)


