---
title: "Aspose::Email::Clients::Exchange::RulePredicates::get_ContainsRecipientStrings method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.exchange/rulepredicates/get_containsrecipientstrings/"
product: "Aspose.Email for C++"
description: "Gets the strings that appear in either the ToRecipients or CcRecipients properties of incoming messages in order for the condition or exception to apply."
---


## get_ContainsRecipientStrings {#get_containsrecipientstrings}

Gets the strings that appear in either the ToRecipients or CcRecipients properties of incoming messages in order for the condition or exception to apply.

**Returns:** System::SharedPtr <System::Collections::Specialized::StringCollection> Aspose::Email::Clients::Exchange::

```cpp
get_ContainsRecipientStrings()
```

