Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MCOM(1)			FreeBSD	General	Commands Manual		       MCOM(1)

NAME
     mcom, mfwd, mbnc, mrep -- compose,	reply, forward,	bounce,	send messages

SYNOPSIS
     mcom [-header values ...] [recipients ...]
     mcom -r [draft]
     mrep [-header values ... --] msg
     mfwd [-r] [-header	values ... --] [msgs ...]
     mbnc [-header values ... --] msg

DESCRIPTION
     mcom creates a new	draft message and opens	it in an editor.  After	edit-
     ing, a loop is started where the user can send, re-edit or	cancel the
     message.  Use `mcom -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.

     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 (including headers) and adds
     a Resent-To header, to which the message will be bounced directly.	 (See
     mmsg(7) for the message argument syntax.)

     All commands can take optional header flags (which	consist	of two or more
     characters) to prefill header fields, e.g.	you can	use `mcom -to merrilyn
     -cc elea becci -subject 'Party invite'' to	create a draft with the	To, Cc
     and Subject fields	already	set.  The flag -body file can be used to pre-
     populate the draft	for mcom and mrep with the contents of file.

     Note that these flags apply to all	arguments after	them (e.g. `mcom
     -attach *.c' works), so you need to use `--' when you want	to use this
     feature together with mrep, mfwd, or mbnc.

MENU COMMANDS
     s	 Send the message.  The	MIME version will be used when one has been
	 created.

     c	 Cancel	sending	and quit, after	displaying the filename	of the saved
	 draft.

     m	 Run mmime(1) on the draft, and	print the result of mshow -t.

     e	 Re-edit the draft.

     d	 Delete	the draft and quit.

ENVIRONMENT
     EDITOR  Editor used to compose messages.

     MBLAZE  Directory containing mblaze configuration files.  (Default:
	     $HOME/.mblaze)

FILES
     snd.*   Draft messages, kept in current directory.	 This can be config-
	     ured in mblaze-profile(5).

     ${MBLAZE:-$HOME/.mblaze}/headers
	     Default headers for each message.

     ${MBLAZE:-$HOME/.mblaze}/signature	or ~/.signature
	     Default signature.

EXIT STATUS
     The mcom utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     mmime(1), mblaze-profile(5), mmsg(7)

AUTHORS
     Leah Neukirchen <leah@vuxu.org>

LICENSE
     mcom is 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.

     http://creativecommons.org/publicdomain/zero/1.0/

FreeBSD	13.0			January	6, 2017			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | MENU COMMANDS | ENVIRONMENT | FILES | EXIT STATUS | SEE ALSO | AUTHORS | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=mcom&sektion=1&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help