Before sending a message, you can specify that “carbon copies” be sent to other than the main addressees. You can also send “blind carbons.” This specification ensures that recipients of your message 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.
You can use three methods for sending carbon copies with a message:
Use a text editor to edit your .mailrc file (in your home directory) and insert the following line:
set askcc |
The mailx program now displays the carbon copy prompt (Cc:) after the subject prompt. Type the addresses of the users you want to receive carbon copies. Separate multiple addresses with spaces.
When you have typed the body of your message, 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 |
You can also create a Cc: line with the ~h command, which displays the entire header of the message. ~h prompts you with To:, Subject:, Cc:, and Bcc: (blind carbon copy) lines, one line at a time. You can fill in blank lines. You can also retype filled lines. As with other tilde commands, always use the ~h command on a new line.
~c, ~h, and other tilde commands are described in Tilde Commands.