
## CreateReader (1 of 2) {#createreader_1}

Creates the instance of reader.

**Returns:** static System::SharedPtr < MboxStorageReader > Aspose::Email::Storage::Mbox::

```cpp
CreateReader(System::SharedPtr < System::IO::Stream > stream, System::SharedPtr < MboxLoadOptions > options)
```

| Parameter | Description |
| --- | --- |
| stream | The stream. |
| options | additional options when loading a Mbox storage MboxLoadOptions . |

---

## CreateReader (2 of 2) {#createreader_2}

Creates the instance of reader.

**Returns:** static System::SharedPtr < MboxStorageReader > Aspose::Email::Storage::Mbox::

```cpp
CreateReader(System::String fileName, System::SharedPtr < MboxLoadOptions > options)
```

| Parameter | Description |
| --- | --- |
| fileName |  |
| options | additional options when loading a Mbox storage MboxLoadOptions . |

