From 8a1a98e13823ac4543d9c88af7005ce6f47a3d3a Mon Sep 17 00:00:00 2001 From: Cantona Su Date: Wed, 19 May 2004 01:17:11 +0000 Subject: Added header "X-Newsreader" for handle Outlook Express as Mailer. 2004-05-18 Cantona Su * em-format-html.c: Added header "X-Newsreader" for handle Outlook Express as Mailer. svn path=/trunk/; revision=25965 --- mail/ChangeLog | 5 +++++ mail/em-format-html.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * em-format-html.c: Added header "X-Newsreader" for handle Outlook + Express as Mailer. + 2004-05-18 Not Zed * 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"; -- cgit