---
title: "Aspose::Email::Clients::Exchange::RulePredicates::get_ContainsSenderStrings method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.exchange/rulepredicates/get_containssenderstrings/"
product: "Aspose.Email for C++"
description: "Gets the strings that appears in the From property of incoming messages in order for the condition or exception to apply"
---


## get_ContainsSenderStrings {#get_containssenderstrings}

Gets the strings that appears in the From property 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_ContainsSenderStrings()
```

