---
title: "Aspose::Email::Mapi::MapiTask::set_AcceptanceState method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapitask/set_acceptancestate/"
product: "Aspose.Email for C++"
description: "Sets the acceptance state of the task."
---


## set_AcceptanceState {#set_acceptancestate}

Sets the acceptance state of the task.

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

```cpp
set_AcceptanceState(MapiTaskAcceptanceState value)
```

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

