Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

readmail(1) [hpux man page]

readmail(1)						      General Commands Manual						       readmail(1)

NAME
readmail - read mail from a mail folder or incoming mailbox SYNOPSIS
folder] [number-list|pattern] DESCRIPTION
The program displays messages from your incoming mailbox or a specified mail folder. Within the mail system (see elm(1) with no operands and optionally the or option, displays the appropriate headers and the body of the cur- rent message. With the number-list operand and no options, displays the corresponding messages and a summary of the headers from your incoming mailbox. With the pattern operand and no options, displays the first message that matches the pattern and a summary of the headers from your incom- ing mailbox. Options supports the following options. Print all messages that match pattern. If no pattern was specified, this option is ignored. Use file folder for the operations instead of the incoming mailbox. Include the entire header of the matched message or messages when displaying their text. The default is to display the and lines only. Exclude all headers. Put form feeds ( between message headers. This is useful when printing sets of messages. Operands supports the following operands. number-list A blank-separated list of the ordinal locations of messages in the mail file (i.e., their "message numbers"), up to 25 at a time. The character means the last message in the mail file. Similarly, represents every message in the file (i.e., The message numbers are sorted into ascending order. Thus, produces the same output as pattern A string that is present in one of the messages. This pattern can be typed in directly (no quotes) if the words are separated by a single space in the actual message. The pattern matching is case sensitive, so and are not equiva- lent. Leading digits (on the first word) are not permitted; however, you can precede them with a space and quote the entire string, if the space occurs in the message, as in . EXAMPLES
If you are using to reply to a message from within the mail system, you can insert the text of the current message with the command: If you define an alias similar to: you can use it with a program such to peruse mail as it arrives, without needing to start a mail system (see newmail(1)). AUTHOR
was developed by HP. FILES
Incoming mailbox Temporary file for SEE ALSO
elm(1), newmail(1), vi(1). readmail(1)

Check Out this Related Man Page

newmail(1)						      General Commands Manual							newmail(1)

NAME
newmail - notify users of new mail in mailboxes SYNOPSIS
interval] [file-spec]... DESCRIPTION
The utility monitors your incoming mailbox or specified mail folders. The basic operation is that the program checks the folders each interval seconds (default 60) and lists any new mail that has arrived in any of the mailboxes, indicating the sender's name, and the subject of the message. Without any options, runs in the background at a default interval of 60 seconds to monitor the user's incoming mailbox. So that they are suitable for display on an already active screen, messages are prefixed with a pair of pointer characters as follows: If there is no subject, the message is displayed. If there is more than one folder, output lines are prefixed by the folder-name or the prefix string specified by file-spec. runs until you log out or explicitly kill it. It can internally reset itself if the mailbox shrinks in size and then grows again. Options recognizes the following options: Set the time interval between mailbox checks to the value specified, in seconds. The default is 60. interval must be less than 2^32 seconds. If it is set to less than 10 seconds, warns that such short intervals are not recommended. Run the program within the current window in the foreground with a more succinct output format. The output formats become: Operands recognizes the following operand: file-spec Specifies the name of a folder and an optional prefix string, in the form: Metacharacters such as and indicate the folder directory. The default is the value of the environment variable or EXAMPLES
Check incoming mailbox every 60 seconds: Check incoming mailboxes of and every 15 seconds for new messages. Monitor the incoming mailbox of user and the folder in your mail directory called Prefix all new messages in the incoming mailbox of with the string and the new messages in the folder with Also, monitor folder AUTHOR
was developed by HP. newmail(1)
Man Page