---
title: "Aspose::Email::Clients::EmailClient::set_Host method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients/emailclient/set_host/"
product: "Aspose.Email for C++"
description: "Sets the host name."
---


## set_Host {#set_host}

Sets the host name.

**Returns:** virtual void Aspose::Email::Clients::

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

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

