diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/em-format-html.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index aefd4d8fbc..b2e27d5ba2 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2004-05-18 Cantona Su <paradisetux@hotmail.com> + + * em-format-html.c: Added header "X-Newsreader" for handle Outlook + Express as Mailer. + 2004-05-18 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (em_folder_browser_show_preview): don't diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 8d10aec9bf..c135447300 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -1651,7 +1651,8 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part) while (header) { if (mailer && (!g_ascii_strcasecmp (header->name, "X-Mailer") || - !g_ascii_strcasecmp (header->name, "User-Agent"))) { + !g_ascii_strcasecmp (header->name, "User-Agent") || + !g_ascii_strcasecmp (header->name, "X-Newsreader"))) { struct _camel_header_raw xmailer; xmailer.name = "X-Evolution-Mailer"; |