---
title: "Aspose::Email::Clients::Google::Criteria::set_Subject method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/criteria/set_subject/"
product: "Aspose.Email for C++"
description: "Case-insensitive phrase found in the message's subject."
---


## set_Subject {#set_subject}

Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.

**Returns:** void Aspose::Email::Clients::Google::

```cpp
set_Subject(System::String value)
```

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

