Skip to content

mxr trash

Generated from mxr trash --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

Move message to trash

mxr trash [OPTIONS] [MESSAGE_ID]...
FlagDescription
[MESSAGE_ID]
FlagDescription
--search <SEARCH>
--yes
--dry-run
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Move mail to trash after previewing the target set.

Terminal window
mxr trash MESSAGE_ID --dry-run
mxr trash --search 'from:spam@example.com' --yes