Addressing mail to users on your local system
To send a message to a user on your local system (to someone whose login name is listed in your /etc/passwd file), use the login name for the address.
At your system command line prompt, you can use the mail command
shown in the following example:
mail LoginName
Item | Description |
---|---|
mail ryan |
If Ryan is on your system and has the login name ryan ,
this command activates the mail program, enables you to create a message,
and tries to send the message to a local login name of ryan .
If the message is delivered successfully, you receive no notification. If
Ryan is not on your system, the mail system immediately returns an error message
and returns the unsent message to your system mailbox. |