---
title: moveToJunk
framework: mailkit
role: symbol
role_heading: Type Property
path: mailkit/memessageaction/movetojunk
---

# moveToJunk

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

## Declaration

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

## See Also

### Transferring Messages

- [moveToArchive](mailkit/memessageaction/movetoarchive.md)
- [moveToTrash](mailkit/memessageaction/movetotrash.md)
