---
title: "Aspose::Email::Mapi::MapiMessageItemBase::set_Recipients method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapimessageitembase/set_recipients/"
product: "Aspose.Email for C++"
description: "Gets the recipients of the message."
---


## set_Recipients {#set_recipients}

Gets the recipients of the message.

**Returns:** void Aspose::Email::Mapi::

```cpp
set_Recipients(System::SharedPtr < MapiRecipientCollection > value)
```

| Parameter | Description |
| --- | --- |
| value |  |

