You can save one or more messages to a file or mail folder for permanent storage. If you are saving a message with attachments, you can save the message, the message, or both. For more information about mail folders, see ``Organizing your mail''.
After you save a message, it normally stays on the message list until you delete it. An ``s'' appears by its listing to remind you that you saved it. If you select Preferences from the Options menu, and then select ``Delete Saved'', saved messages are automatically deleted from your system mailbox and thus no longer appear on the message list. See ``Automatically deleting saved messages''.
To save a message, select Save from the Mail menu. Select the messages to save from the list displayed, and press <Enter>.
You can also save messages by entering the message number or numbers. Enter several numbers by separating them with spaces (for example, ``1 3 7''), a range of numbers (for example, ``1-5''), or a combination of both (for example, ``1-5 8 11''). Press <Enter> to save the specified messages.
Having selected one or more messages to save, use the ``Save To'' field to indicate whether you want to save the messages to a file or mail folder.
To save the messages to a file, select File from the ``Save To'' field. Enter a filename in the ``Name'' field. You may either enter an existing filename to send the messages to an existing file, or enter a new filename to save the messages to a new file. If you want to save them to a file in a different directory, you must include the file's pathname.
If you chose to save the messages to an existing file, select Append to add the messages to the end of the file, or Overwrite if you want the messages to replace the current contents of the file.
If you wish to save messages to a mail folder, select Mail-Folder from the ``Save To'' field. When you do this, the default folder name, mbox, is displayed in the ``Name'' field. To save the messages to mbox, press <Enter>. Otherwise, enter the name of the mail folder that you want. If that folder is inside a drawer (a subdirectory) in the mailfolders directory, enter the name of the drawer followed by a slash and the name of the folder. For example, enter Sales/Prospects for a folder named Prospects in a drawer named Sales. For more information on mail folders and drawers, see ``Organizing your mail''.
If you enter the name of an existing mail folder, the messages are appended to the end of that folder. If you enter a folder name that does not exist, or enter the folder name along with a drawer name that does not exist, you are asked whether you want to create a new mail folder. If you select Yes, SCO Shell Mail creates a new mail folder with the name you supplied and saves the message to it. If you try to save the message to a folder that is inside a drawer does not exist in the mailfolders directory, selecting Yes will create both the new drawer and a new folder inside that drawer.
The header information for each message that is saved to a mail folder is included by default. SCO Shell Mail can read any mail folder containing messages that include the header information.
You can save messages automatically once you have read them. To do this, select Options Preferences from the Mail menu. Move the highlight to the ``Auto Mbox'' field and press <Space> to select it. Now all messages that you read are saved to your mbox mail folder automatically when you exit SCO Shell Mail, unless you delete them or save them to another file folder before exiting.
If the mail message that you are currently saving has an attachment, an additional form is displayed after you have responded to the Saving Messages form. The form shows you the header listing for the message that has the attachment, plus the attachment's original filename. To save the attachment under its original filename, press <Enter>. To save it with a different filename, enter the new name and press <Enter>. For example, if the attachment is a file that you are going to use with an application, make sure that you give it a filename that the application recognizes. In either case, SCO Shell Mail saves the attachment as a file in your current directory and returns you to the Mail menu. You can save an attachment only as an ordinary file, not as a mail folder. Saving the attachment does not delete it. The attachment remains with the message until the message is deleted or saved to a file.