Research V3 development
[unix-history] / man / man1 / mail.1
CommitLineData
3175bc13
KT
1.pa 1
2.he 'MAIL (I)'10/25/72'MAIL (I)'
3.ti 0
4NAME mail -- send mail to another user
5.sp
6.ti 0
7SYNOPSIS mail\b\b\b\b____ [ -yn\b\b\b___ ]
8.br
9.ul
10mail
11letter person ...
12.br
13mail\b\b\b\b____ person
14.sp
15.ti 0
16DESCRIPTION mail\b\b\b\b____
17without an argument searches for a file called mailbox\b\b\b\b\b\b\b_______, prints
18it if present, and asks if it should be saved. If the answer
19is "y", the mail is renamed mbox\b\b\b\b____, otherwise it is deleted.
20Mail\b\b\b\b____ with a -yn\b\b\b___ argument works the same way, except
21that the answer to the question is supplied by the argument.
22.sp
23When followed by the names of a letter
24and one or more people,
25the letter is appended to
26each person's mailbox\b\b\b\b\b\b\b_______.
27When a person\b\b\b\b\b\b______ is specified without a letter\b\b\b\b\b\b______,
28the letter is taken from the sender's standard input up to an EOT.
29Each letter is preceded by the sender's name and a postmark.
30
31A person\b\b\b\b\b\b______ is either
32a user name recognized by login\b\b\b\b\b_____, in which case the mail
33is sent to the default working directory of that user,
34or the path name of a directory,
35in which case mailbox\b\b\b\b\b\b\b_______ in that directory is used.
36.sp
37When a user logs in he is informed of the presence
38of mail.
39.sp
40.ti 0
41FILES /etc/passwd to identify sender
42.br
43 to locate persons
44.br
45mailbox input mail
46.br
47mbox saved mail
48.sp
49.ti 0
50SEE ALSO login(I)
51.sp
52.ti 0
53DIAGNOSTICS "Who are you?"
54if the user cannot be identified for some reason (a bug).
55"Cannot send to user" if mailbox\b\b\b\b\b\b\b_______ cannot be opened.
56.sp
57.ti 0
58BUGS --