summary refs log tree commit diff
path: root/man/mcom.1
blob: 6e2ce0edd0bc0e71fb8a251a61d4da55e6cf5ba9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.Dd July 22, 2016
.Dt MCOM 1
.Os
.Sh NAME
.Nm mcom ,
.Nm mrep
.Nd compose new, reply to, and send mail
.Sh SYNOPSIS
.Nm mcom
.Op Ar recipient
.Nm mrep
.Ar msg
.Sh DESCRIPTION
.Nm mcom
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.
.Pp
.Nm mrep
behaves like
.Nm mcom
but fills the draft such that the mail will be a reply to the message
.Ar msg .
See
.Xr mmsg 7
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.
.It Ic d
Delete the draft and quit.
.El
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev EDITOR
Editor used to compose mail.
.It Ev MBLAZE
Directory containing mblaze configuration.
(Default:
.Pa $HOME/.mblaze )
.El
.Sh FILES
.Bl -tag -width Ds
.It Pa snd.*
Draft messages (kept in current directory)
.It Pa ${MBLAZE:-$HOME/.mblaze}/headers
Default headers for each mail.
(Put your
.Sq Li From\&:
line there.)
.It Pa ${MBLAZE:-$HOME/.mblaze}/signature No or Pa ~/.signature
Default signature.
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr mmime 1 ,
.Xr mblaze-profile 5 ,
.Xr mmsg 7
.Sh AUTHORS
.An Leah Neukirchen Aq Mt leah@vuxu.org
.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/