Mail Format Sending Mail Mail Aliases
A header field in the mail buffer starts with a field name at the beginning of a line, terminated by a colon. Upper and lower case are equivalent in field names (and in mailing addresses also). After the colon and optional whitespace comes the contents of the field.
You can use any name you like for a header field, but normally people use only standard field names with accepted meanings. Here is a table of fields commonly used in outgoing messages.
`To '
|
This field contains the mailing addresses to which the message is addressed. If you list more than one address, use commas, not spaces, to separate them. |
`Subject '
|
The contents of the ` |
`CC '
|
This field contains additional mailing addresses to send the message to,
like ` |
`BCC '
|
This field contains additional mailing addresses to send the message to, which should not appear in the header of the message actually sent. Copies sent this way are called blind carbon copies.
To send a blind carbon copy of every outgoing message to yourself, set
the variable |
`FCC '
|
This field contains the name of one file and directs Emacs to append a copy of the message to that file when you send the message. If the file is in Rmail format, Emacs writes the message in Rmail format; otherwise, Emacs writes the message in system mail file format.
To put a fixed file name in the ` |
`From '
|
Use the ` |
`Reply-to '
|
Use this field to direct replies to a different address. Most
mail-reading programs (including Rmail) automatically send replies to
the `
To put a fixed ` |
`In-reply-to '
|
This field contains a piece of text describing a message you are replying to. Some mail systems can use this information to correlate related pieces of mail. Normally this field is filled in by Rmail when you reply to a message in Rmail, and you never need to think about it (see Rmail). |
`References '
|
This field lists the message IDs of related previous messages. Rmail sets up this field automatically when you reply to a message. |
The `To
', `CC
', `BCC
' and `FCC
' header fields can
appear any number of times, and each such header field can contain
multiple addresses, separated by commas. This way, you can specify any
number of places to send the message. A `To
', `CC
', or
`BCC
' field can also have continuation lines: one or more lines
starting with whitespace, following the starting line of the field, are
considered part of the field. Here's an example of a `To
' field
with a continuation line:
To: foo@here.net, this@there.net, me@gnu.cambridge.mass.usa.earth.spiral3281
When you send the message, if you didn't write a `From
' field
yourself, Emacs puts in one for you. The variable
mail-from-style
controls the format:
nil
|
Use just the email address, as in ` |
parens
|
Use both email address and full name, as in `king@grassland.com (Elvis Parsley) '.
|
angles
|
Use both email address and full name, as in `Elvis Parsley <king@grassland.com> '.
|
system-default
|
Allow the system to insert the `From ' field.
|