站內搜尋:Yahoo搜尋的結果,如果沒有給完整的網址,請在站內再搜尋一次!

2011-02-15

使用 SmartTemplate 附加元件(Addon),讓Thunderbird的郵件轉寄表頭(Header),有Outlook一般的效果!

用Thunderbird收發郵件,已經有很長的一段時間了!IMAP收信的功能、多帳號收發郵件依實際郵件帳號分開管理郵件...等功能,一直是讓人愛不釋手的重要原因之一,但也有一個很想修改一下的小缺點:如果用過Outlook,一定會有很深的感受:回覆郵件的表頭,實在太簡單了!

改善這個礙眼的配置,有很多種方法,我最常用的方法是:即使是要回覆的郵件,我也會按下『轉寄』,這時候出現的效果,就跟Outlook很一致了!

除了用轉寄的方式,修改組態設定檔,也是很多人會使用的方法:工具(T)→選項(O)→『進階』項目→『一般』分頁→『組態編輯器』按鈕 (about:config)
通常會修改的設定項目是:mailnews.reply_header_authorwrote, mailnews.reply_header_ondate ...

也有一個跟修改about:config很類似的方法:可以參閱以下連結的說明 http://www.mozilla.org/support/thunderbird/tips
將以下的內容另存成 user.js ,將該檔案存放到 使用者 thunderbird 的 profiles 目錄下,例如:
C:\Documents and Settings\(使用者)\Application Data\Thunderbird\Profiles\odtrveup.default(每個安裝可能會有些不同)
// Change the reply header
// 0 - No Reply-Text
// 1 - "[Author] wrote:"
// 2 - "On [date] [author] wrote:"
// 3 - User-defined reply header. Use the prefs below in conjunction with this:
user_pref("mailnews.reply_header_type", 3);

// If you set 3 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]
以上內容是一個JavaScript檔案,可以是實際的需求修改,一個設定項目,如果需要用兩行已上來表達資料,可以用 \n 來換行。

在Thunderbird網站的Addons附加元件下載中,有一個SmartTemplate的元件,提供了很棒的郵件表頭自訂功能,可以根據每個帳號,設定不同的新郵件、回覆郵件、轉寄郵件的表頭,並且可以利用HTML語法,搭配該元件所提供的變數功能,來達到變化設計的效果,詳細可參閱以下連結網址:
https://addons.mozilla.org/zh-TW/thunderbird/search?q=SmartTemplate&cat=all
https://addons.mozilla.org/zh-TW/thunderbird/addon/14662/

如何於 Thunderbird 安裝附加元件?工具→附加元件→取得元件項目→搜尋:SmartTemplate,找到後:安裝到Thunderbird→安裝完成後,重新啟動Thunderbird。

安裝重新啟動Thunderbird後,在『擴充套件』項目下,選擇:SmartTemplate,點選『選項』鈕,進入設定畫面。

進入設定畫面後,回覆郵件的範例如下:

使用SmartTemplate後,回覆郵件,就可以有如右圖的效果。




除了上述所用的變數:%subject%, %date%, %from%, %to%, %cc%,還有許多可以選用的參數,如:
%ownname% - Own account name
%ownmail% - Own mail address
%Y% - Year (1970...)
%m% / %n% - Month (01..12 / 1..12)
%d% / %e% - Day of month (01..31 / 1..31)
%H% / %k% - Hour (00..23 / 0..23)
%M% - Minute (00..59)
%S% - Second (00..59)
%A% / %a% - Locale's weekday name (Sunday..Saturday / Sun..Sat)
%B% / %b% - Locale's month name (January..December / Jan..Dec)
%from% - Author
%from(name)% - Author name
%from(mail)% - Author mail address
%date% - Date string (same as mail header syntax)
%datelocal% - Date string (locale format)
%dateshort% - Date string (such as 2000/01/01 1:23:45)
%date_tz% - Time zone (e.g., +0100)
%to% - Recipients(to)
%to(name)% - Recipients name(to) (mail address, if name is not available.)
%to(mail)% - Recipients mail address(to)
%cc% - Recipients(cc)
%cc(name)% - Recipients name(cc) (mail address, if name is not available.)
%cc(mail)% - Recipients mail address(cc)
%subject% - Subject
%........% - An any e-mail header(e.g., %Message-Id%, %Newsgroups%, %X-Mailer%, ...)





本文原由作者本人於 2010-06-08 整理發表於 http://bod.tw/modules/tadnews/index.php?nsn=5

沒有留言:

張貼留言