---
title: "Aspose::Email::Mapi::KnownPropertyList::UseTnef method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/usetnef/"
product: "Aspose.Email for C++"
description: "Specifies whether Transport Neutral Encapsulation Format (TNEF) is to be included on a message when the message is converted from TNEF to MIME or SMTP format."
---


## UseTnef {#usetnef}

Specifies whether Transport Neutral Encapsulation Format (TNEF) is to be included on a message when the message is converted from TNEF to MIME or SMTP format. Area: Run-time configuration Canonical name: PidLidUseTnef Alternate names: dispidUseTNEF

**Returns:** System::SharedPtr < PidLidPropertyDescriptor > Aspose::Email::Mapi::

```cpp
UseTnef()
```

