DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using e-mail

Including a file or a message in mail

You can include a file from any directory, or any message from the system mailbox or current mail folder in mail that you create. To include a message from a different folder, you must first switch to that folder before beginning to create the new message.

To read a file named filename into your current message, enter ~r filename on a new line. For example, suppose that susant wants to read the file 12Mar93 from her reports directory into the message she is currently editing. She enters ~r $HOME/reports/12Mar93 on a new line. mail reads the file into the message; it displays the name of the file, and the number of lines and characters in the file. The file itself is not shown:

   ~r $HOME/reports/12Mar93
   "/u/susant/reports/12Mar93" 72/2404
To include a message that was previously sent to you, type ~m number, where number is the number of the message. mail automatically indents the inclusion by one tab stop. If you do not want the message indented, use ~M number instead.
Next topic: Canceling a message
Previous topic: Editing a message

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005