
## set_To (1 of 3) {#set_to_1}

**Returns:** virtual void Aspose::Email::

```cpp
set_To(System::SharedPtr < MailAddress > value)
```

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

---

## set_To (2 of 3) {#set_to_2}

Sets the address collection that contains the recipients of message

**Returns:** virtual void Aspose::Email::

```cpp
set_To(System::SharedPtr < MailAddressCollection > value)
```

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

---

## set_To (3 of 3) {#set_to_3}

**Returns:** virtual void Aspose::Email::

```cpp
set_To(System::String value)
```

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

