mblaze/man/mcom.1

108 lines
2.1 KiB
Groff
Raw Permalink Normal View History

2016-07-22 19:36:46 +00:00
.Dd July 22, 2016
.Dt MCOM 1
2016-07-22 19:36:46 +00:00
.Os
.Sh NAME
.Nm mcom ,
.Nm mfwd ,
.Nm mrep
.Nd compose new, forward, reply to, and send mail
2016-07-22 19:36:46 +00:00
.Sh SYNOPSIS
.Nm mcom
2017-06-19 12:00:29 +00:00
.Op Ar recipients\ ...
.Nm mcom
.Fl r Op draft
.Nm mfwd
.Op Fl r
.Op Ar msgs\ ...
.Nm mrep
2016-07-22 19:36:46 +00:00
.Ar msg
.Sh DESCRIPTION
.Nm mcom
2016-07-22 19:36:46 +00:00
creates a new draft mail and runs an editor.
After editing, a loop is started where the user can re-edit, send or
cancel the mail.
2017-06-19 12:00:29 +00:00
Use
.Sq Nm Fl r
to resume editing a draft.
By default, the last modified draft will be edited.
2016-07-22 19:36:46 +00:00
.Pp
.Nm mfwd
behaves like
.Nm mcom
2017-06-19 12:00:29 +00:00
but fills the draft with subject and body to forward the messages.
By default, messages are forwarded verbatim as MIME
.Sq Li message/rfc822
attachments.
Use
.Fl r
2017-06-19 12:00:29 +00:00
to forward as
.Xr mshow 1
rendered plain text, using RFC934 message encapsulation.
.Pp
.Nm mrep
2016-07-22 19:36:46 +00:00
behaves like
.Nm mcom
2016-07-22 19:36:46 +00:00
but fills the draft such that the mail will be a reply to the message
.Ar msg .
See
2016-07-22 19:43:03 +00:00
.Xr mmsg 7
2016-07-22 19:36:46 +00:00
for the message argument syntax.
.Sh MENU COMMANDS
.Bl -tag -width 2n
.It Ic s
Send the mail.
The MIME version will be used when one has been created.
.It Ic c
Cancel sending and quit
.Nm
after displaying the file name of the draft.
.It Ic m
Run
.Xr mmime 1
on the draft, and show the result of
.Ic mshow -t .
.It Ic e
Re-run the editor on the draft.
2016-08-08 14:06:52 +00:00
.It Ic d
Delete the draft and quit.
2016-07-22 19:36:46 +00:00
.El
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev EDITOR
Editor used to compose mail.
.It Ev MBLAZE
Directory containing mblaze configuration.
(Default:
2016-09-02 21:48:56 +00:00
.Pa $HOME/.mblaze )
2016-07-22 19:36:46 +00:00
.El
.Sh FILES
.Bl -tag -width Ds
.It Pa snd.*
Draft messages (kept in current directory)
.It Pa ${MBLAZE:-$HOME/.mblaze}/headers
2016-07-22 19:36:46 +00:00
Default headers for each mail.
(Put your
.Sq Li From\&:
line there.)
2017-05-20 23:06:34 +00:00
.It Pa ${MBLAZE:-$HOME/.mblaze}/signature No or Pa ~/.signature
2016-07-22 19:36:46 +00:00
Default signature.
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr mmime 1 ,
2017-02-20 14:39:21 +00:00
.Xr mblaze-profile 5 ,
2016-07-22 19:43:03 +00:00
.Xr mmsg 7
2016-07-22 19:36:46 +00:00
.Sh AUTHORS
2017-01-21 16:17:12 +00:00
.An Leah Neukirchen Aq Mt leah@vuxu.org
2016-07-22 19:36:46 +00:00
.Sh LICENSE
.Nm
is in the public domain.
.Pp
To the extent possible under law,
the creator of this work
has waived all copyright and related or
neighboring rights to this work.
.Pp
.Lk http://creativecommons.org/publicdomain/zero/1.0/