Created an attachment (id=208434)
Adding corporate reply header option
Patch against CVS HEAD on 01/13/2006
Description:
This patch adds support for corporate reply headers. When changing your user.js file as below, and setting mailnews.reply_header_type to 4, the reply header should look like:
From: [author]
Sent: [date]
To: [to]
Cc: [cc]
Subject: [subject]
$ cat user.js
// Change the reply header
// 0 - No Reply-Text
// 1 - "[Author] wrote:"
// 2 - "On [date] [author] wrote:"
// 3 - "[author] said the following on [date]:"
// 4 - "From: [author]
// Sent: [date]
// To: [to]
// Cc: [cc]
// Subject: [subject]"
// 5 - User-defined reply header. Use the prefs below in conjunction with
// this:
user_pref("mailnews.reply_header_type", 4);
// If you set 5 for the pref above then you may set the following prefs.
user_pref("mailnews.reply_header_authorwrote", "%s said the following");
user_pref("mailnews.reply_header_ondate", "on %s");
user_pref("mailnews.reply_header_separator", " ");
user_pref("mailnews.reply_header_colon", ":");
// The end result will be [authorwrote][separator][ondate][colon]
Caveat: This patch does not resolve recipients (To:) nor cc list (Cc:) to user names, it just dumps what's in the corresponding smtp header field without further processing.
Created an attachment (id=208434)
Adding corporate reply header option
Patch against CVS HEAD on 01/13/2006
Description: reply_header_ type to 4, the reply header should look like:
This patch adds support for corporate reply headers. When changing your user.js file as below, and setting mailnews.
From: [author]
Sent: [date]
To: [to]
Cc: [cc]
Subject: [subject]
$ cat user.js "mailnews. reply_header_ type", 4);
// Change the reply header
// 0 - No Reply-Text
// 1 - "[Author] wrote:"
// 2 - "On [date] [author] wrote:"
// 3 - "[author] said the following on [date]:"
// 4 - "From: [author]
// Sent: [date]
// To: [to]
// Cc: [cc]
// Subject: [subject]"
// 5 - User-defined reply header. Use the prefs below in conjunction with
// this:
user_pref(
// If you set 5 for the pref above then you may set the following prefs. "mailnews. reply_header_ authorwrote" , "%s said the following"); "mailnews. reply_header_ ondate" , "on %s"); "mailnews. reply_header_ separator" , " "); "mailnews. reply_header_ colon", ":"); [separator] [ondate] [colon]
user_pref(
user_pref(
user_pref(
user_pref(
// The end result will be [authorwrote]
Caveat: This patch does not resolve recipients (To:) nor cc list (Cc:) to user names, it just dumps what's in the corresponding smtp header field without further processing.