mhmail User ... [ -cc User ... ] [ -from User ... ] [ -subject "String" ] [ -body "String" ]
The mhmail command composes, sends, and files messages. To file a message, enter the mhmail command without any flags. The default folder is $HOME/inbox.
If you specify one or more user addresses with the User parameter, the mhmail command accepts text from your terminal and composes a message. You can end the message text by pressing the Ctrl-D key sequence. The mhmail command sends a copy of the message to each specified address.
mhmail
The system displays a message similar to the following:
Incorporating new mail into inbox... 65+ 04/08 jim@athena.a Meeting <<The meeting will 66 04/08 jim@athena.a Schedule <<Schedule change
In this example, two messages are filed in the inbox file. The subject of the first message is Meeting, and the first line starts with the words The meeting will. The subject of the second message is Schedule, and the first line starts with the words Schedule change.
/var/spool/Mail/$USER | Defines the location of the mail drop. |
/usr/bin/mhmail | Contains the mhmail command. |
The inc command, post command.
The mh_alias file format, mh_profile file format.
Mail Overview in AIX 5L Version 5.1 System User's Guide: Communications and Networks.