---
title: "JmapClient.RemoveMessageFromFolder"
url: "https://reference.aspose.com/email/net/aspose.email.clients.jmap/jmapclient/removemessagefromfolder/"
product: "Aspose.Email for .NET API Reference"
description: "JmapClient method. Removes only the specified folder membership"
---

## JmapClient.RemoveMessageFromFolder method

Removes only the specified folder membership.

```csharp
public void RemoveMessageFromFolder(string messageId, string folderId, 
    CancellationToken cancellationToken = default)
```

### See Also

* class [JmapClient](../)
* namespace [Aspose.Email.Clients.Jmap](../../jmapclient/)
* assembly [Aspose.Email](../../../)


