MHMAIL(1m,C) AIX Commands Reference MHMAIL(1m,C) ------------------------------------------------------------------------------- mhmail PURPOSE Sends or receives mail. SYNTAX mhmail ---| +--------------------+ +--------------+ mhmail --- user ---| |---| |---> A | +--- -cc --- user ---+ +- -from user -+ +--------+ ^ | +--------+ +-------------------+ +----------------+ >---| |---| |---| +- -subject string -+ +- -body string -+ mhmail --- -help ---| DESCRIPTION The mhmail command is used to incorporate messages and compose messages. The mhmail command is part of the Message Handling (MH) package and can be used with MH and AIX commands. The mhmail command entered by itself incorporates messages from your mailbox. If you specify user addresses, mhmail accepts text from your terminal and composes a message. You can end the message text by pressing the END OF FILE key. The mhmail command sends a copy of the message to each specified address. FLAGS -body string Sends a message with string as the body. When you specify -body, the mhmail command does not accept text from the terminal. -cc users Sends a copy of the message to the specified users. The mhmail command puts the addresses in the cc: field of the message. Processed July 12, 1991 MHMAIL(1m,C) 1 MHMAIL(1m,C) AIX Commands Reference MHMAIL(1m,C) -from user Places the specified user address in the From: field of the message. -help Displays help information for the command. -subject string Places the specified text string in the Subject: field of the message. FILES $HOME/$USER The location of the mail drop. RELATED INFORMATION See other MH commands: "inc" and "post." See the mh-alias, mh-mail, and mh-profile files in AIX Operating System Technical Reference. See "Overview of the Message Handling Package" in Managing the AIX Operating System. See Chapter 18 of the AIX Programming Tools and Interfaces for general information on using commands in an MBCS environment. Processed July 12, 1991 MHMAIL(1m,C) 2