|MCOM(1)||General Commands Manual||MCOM(1)|
mcomcreates a new draft message and opens it in an editor. After editing, a loop is started where the user can send, re-edit or cancel the message. Use ‘
-r’ to resume the editing of a draft; by default, the last modified draft will be edited.
mrep creates the draft such that the
message will be a reply to msg (or the current
-noquote is passed, it will contain
the original mail quoted.
mfwd creates the draft with a subject and
body appropriate for forwarding the message. By default, messages are
forwarded verbatim as MIME
message/rfc822’ attachments. Use
-r to forward as
mshow(1) rendered plain text, using RFC
934 message encapsulation.
mbnc creates the draft from the original
msg (or the current message) including headers, and
adds a Resent-To header, to which the message will be bounced directly. (See
mmsg(7) for the message argument
All commands can take optional header flags
(which consist of two or more characters) to prefill header fields, e.g. you
can use ‘
'Party invite'’ to create a draft with the
To, Cc and Subject fields already set. The flag
-body file can be used to
prepopulate the draft for
mrep with the contents of
Note that these flags apply to all arguments
after them (e.g. ‘mcom
*.c’ works), so you need to use
--’ when you want to use this feature
If the flag
-send is passed, the message
will be sent directly using the data on the command line, and no editor or
edit loop will be run.
mcomutility exits 0 on success, and >0 if an error occurs.
mcomis in the public domain.
To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.
|February 5, 2020||x86_64|