
## ExtractMapiMessage (1 of 2) {#extractmapimessage_1}

Get the message from OLM storage.

**Returns:** A MapiMessage object.

```cpp
ExtractMapiMessage(System::SharedPtr < OlmMessageInfo > messageInfo)
```

| Parameter | Description |
| --- | --- |
| messageInfo | An OlmMessageInfo object that represents information about message. |

---

## ExtractMapiMessage (2 of 2) {#extractmapimessage_2}

Get the message from OLM.

**Returns:** A MapiMessage object.

```cpp
ExtractMapiMessage(System::String id)
```

| Parameter | Description |
| --- | --- |
| id | String representation of EntryId. |

