
## LoadFromTnef (1 of 2) {#loadfromtnef_1}

Loads message from Transport Neutral Encapsulation Format (TNEF) data structure

**Returns:** A read MapiMessage

```cpp
LoadFromTnef(System::SharedPtr < System::IO::Stream > stream)
```

| Parameter | Description |
| --- | --- |
| stream | A stream representing message data in TNEF format |

---

## LoadFromTnef (2 of 2) {#loadfromtnef_2}

Loads message from Transport Neutral Encapsulation Format (TNEF) data structure

**Returns:** A read MapiMessage

```cpp
LoadFromTnef(System::String fileName)
```

| Parameter | Description |
| --- | --- |
| fileName | Name of file containing message data in TNEF format |

