---
title: "Aspose::Email::Clients::Pop3::Models::Pop3SaveMessage::SetUniqueId method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.pop3.models/pop3savemessage/setuniqueid/"
product: "Aspose.Email for C++"
description: "Set the message unique identifier."
---


## SetUniqueId {#setuniqueid}

Set the message unique identifier.

**Returns:** System::SharedPtr < Pop3SaveMessage > Aspose::Email::Clients::Pop3::Models::

```cpp
SetUniqueId(System::String uniqueId)
```

| Parameter | Description |
| --- | --- |
| uniqueId |  |

