---
title: "Aspose::Email::Clients::Exchange::RulePredicates::set_FromAddresses method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.exchange/rulepredicates/set_fromaddresses/"
product: "Aspose.Email for C++"
description: "Sets the e-mail addresses of the senders of incoming messages in order for the condition or exception to apply."
---


## set_FromAddresses {#set_fromaddresses}

Sets the e-mail addresses of the senders of incoming messages in order for the condition or exception to apply.

**Returns:** void Aspose::Email::Clients::Exchange::

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

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

