---
title: toAddresses
framework: mailkit
role: symbol
role_heading: Instance Property
path: mailkit/memessage/toaddresses
---

# toAddresses

An array of email addresses for the primary recipients of the message.

## Declaration

```swift
var toAddresses: [MEEmailAddress] { get }
```

## Discussion

Discussion This property corresponds to the To header in the message. The entries in the array specify the email addresses only, and don’t include any additional text. For example, if the To header in the message includes Maria Ruiz <mruiz2@icloud.com>, the array contains mruiz2@icloud.com.

## See Also

### Accessing the Sender and Recipients

- [fromAddress](mailkit/memessage/fromaddress.md)
- [ccAddresses](mailkit/memessage/ccaddresses.md)
- [bccAddresses](mailkit/memessage/bccaddresses.md)
- [replyToAddresses](mailkit/memessage/replytoaddresses.md)
- [allRecipientAddresses](mailkit/memessage/allrecipientaddresses.md)
