16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|<br />

|<br />

|<br />

mailx<br />

recipient’s home directory, we use the name mbox to represent the personal<br />

mailbox and mailbox for a system mailbox.<br />

The simplest way to read incoming messages is to type the command mailx (with<br />

no addresses on the command line). This starts an interactive session in which<br />

mailx lets you read your mail and perform other operations. For example, you can<br />

display new messages, delete old ones, reply to messages, or forward them to<br />

someone else, and so on. When you are performing operations in this way, you are<br />

in command mode. When you are typing in the text of a message, you are in input<br />

mode.<br />

A message consists of a sequence of header lines, followed by the body of the<br />

message. The header lines tell who sent the message, the time and date that the<br />

message was sent, the subject of the message, and so on. mailx automatically<br />

creates header lines. Some of the common header lines are:<br />

Cc: name name ...<br />

Stands for “carbon copies”. This indicates that copies of this message are<br />

to be sent to the specified recipients. The names of these recipients appear<br />

in the header lines of everyone receiving the message.<br />

Bcc: name name ...<br />

Stands for “blind carbon copies”. This is similar to Cc:, but the names of<br />

people receiving carbon copies do not appear in the header lines of the<br />

message. Recipients do not know that these people received a copy of the<br />

message.<br />

Subject: text<br />

Gives the subject of the message.<br />

To: name name ...<br />

Gives the names of people who were sent the message directly.<br />

All messages are in one of the following states:<br />

deleted<br />

You used a delete, dp, or dt command to delete the message. When mailx<br />

quits, messages in this state are deleted.<br />

new The message is in the system mailbox and you have not yet read it or<br />

otherwise changed its state. When mailx quits, messages in this state are<br />

kept in your system mailbox.<br />

preserved<br />

You used a preserve command on the message. When mailx quits,<br />

messages in this state are kept in their current locations.<br />

read You used one of the following commands on the message:<br />

~F copy Print type<br />

~f mbox print undelete<br />

~M next top<br />

~m pipe Type<br />

or you used delete , dp, or dt on the preceding message and the autoprint<br />

variable was set. When mailx quits and you are in your system mailbox,<br />

read messages are kept in your personal mailbox—unless the hold<br />

variable is set, in which case, read messages are kept in your system<br />

mailbox. If you are in your personal or a secondary mailbox when mailx<br />

quits, read messages are kept in their current location.<br />

saved You used a save or write command on the message. If the current mailbox<br />

374 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!