You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

Hidden Mail Compose Prefs

"other header" pref ("mail.compose.other.header")
The format for this a comma delimited list of mail headers, like "Approved,X-No-Archive"

An example for your prefs.js would be:
user_pref("mail.compose.other.header", "Approved");

This will cause "Approved" to show up in the compose window address picker, under To:, Cc:, Bcc:, Newsgroup:, etc.

For example:

Approved header example image

When that mail gets sent,
will be in the message in the headers.

This is a useful trick for newsgroup moderators who want moderate from mozilla.