---
title: "Aspose::Email::Clients::Exchange::Dav::ExchangeClient::GetMailboxes method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.exchange.dav/exchangeclient/getmailboxes/"
product: "Aspose.Email for C++"
description: "Lists mailboxes in the global address list."
---


## GetMailboxes {#getmailboxes}

Lists mailboxes in the global address list.

**Returns:** An array of Contact objects.

```cpp
GetMailboxes()
```

