mail, rmail — Read Mail or Send Mail to Users
Synopsis
Sending Mail
/usr/bin/mail [-tw][-m message-type] recipient... /usr/bin/rmail [-tw][-m message-type] recipient...
Reading Mail
/usr/bin/mail [-ehpPqr][-f file]
Debugging
/usr/bin/mail [-x debug-level][other-mail-options] recipient...
Description
A recipient is usually a user name recognized by login(1). When you specify recipients, mail assumes a message is being sent. It reads from the standard input up to an end-of-file (Control-D) or, if reading from a terminal device, until it reads a line consisting of just a period. When either of those indicators is received, mail adds the letter to the mail file for each recipient.
A letter is composed of some header lines followed by ...
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.