Copy a message

$ himalaya message copy [OPTIONS] <FROM> <TO> <ID>...

Copy a message from a source folder to a target folder.

Options

--disable-cache

Disable any sort of cache.

The action depends on commands it apply on. For example, when listing envelopes using the IMAP backend, this flag will ensure that envelopes are fetched from the IMAP server rather than the synchronized local Maildir.

-a|--account

Override the default account.

An account name corresponds to an entry in the table at the root level of your TOML configuration file.

Settings

message.copy.backend

Override the backend used for copying messages.

# valid backends: maildir, imap, notmuch
message.copy.backend = "imap"