---
title: moveToTrash
framework: mailkit
role: symbol
role_heading: Type Property
path: mailkit/memessageaction/movetotrash
---

# moveToTrash

An object that moves the message to the account’s Trash mailbox.

## Declaration

```swift
class var moveToTrash: MEMessageAction { get }
```

## See Also

### Transferring Messages

- [moveToArchive](mailkit/memessageaction/movetoarchive.md)
- [moveToJunk](mailkit/memessageaction/movetojunk.md)
