Adding custom headers (such as Approved:) to Thunderbird mail

Sometimes you want to send email or newsgroup posts with custom headers. For example, the Approved: header can be used to post to a restricted "Announce" newsgroup for a class, or you may want to mark your email with an "X-No-Arc: yes" header to prevent a mailing list archive from saving a copy. 

The easy way to add a custom header to the Thunderbird email/newsgroup compose window is by adding a user.js file to your configuration directory ( .thunderbird/default//user.js ) with the following line in it:

user_pref("mail.compose.other.header", "Approved");
 

3 thoughts on “Adding custom headers (such as Approved:) to Thunderbird mail

  1. Hello.

    I know this is an old post so I’m not sure anyone will read this question, but here goes: You explained how to add a custom x-header. Is it possible to assign a default value for that new x-header?

Leave a Reply

Your email address will not be published. Required fields are marked *