---
title: "Aspose::Email::Mapi::MapiContactPhoto::SetProperties method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapicontactphoto/setproperties/"
product: "Aspose.Email for C++"
description: "Sets the message properties."
---


## SetProperties {#setproperties}

Sets the message properties.

**Returns:** void Aspose::Email::Mapi::

```cpp
SetProperties(System::SharedPtr < MapiMessage > msg)
```

| Parameter | Description |
| --- | --- |
| msg | The MapiMessage . |

