Before sending a letter, you can specify that "carbon copies" be sent to other than the main addressees. You can also send "blind carbons." (Recipients of your letter can read the addresses for the carbon copies, but not the addresses for the blind carbons.)
Many people send themselves carbons or blind carbons in order to retain a copy for their own record.
There are three methods for sending carbon copies with a letter:
Use a text editor to edit your .mailrc file (in your home directory) and insert the following line:
set askcc |
The mailx program will now display the carbon copy prompt (Cc:) after the subject prompt. Enter the addresses of the users you want to receive carbon copies. Separate multiple addresses with spaces.
When you've finished typing the body of your letter, but before you press Ctrl-D, press Return to move to a new line and use the command form:
~c address(es)
To use this method to send carbon copies to multiple recipients, separate the addresses with spaces. For example:
~c hank@fretful george@lonesome stormy@snoozer |
A Cc: line is also created by the ~h command, which displays the entire header of the letter. ~h prompts you with To:, Subject:, Cc:, and Bcc: (blind carbon copy) lines, one line at a time. Blank lines can be filled in; filled lines can be retyped. As with other tilde commands, always use the ~h command on a new line.
~c, ~h, and other tilde commands are described in "7.9 Tilde Commands", in this chapter.