diff options
author | Cantona Su <paradisetux@hotmail.com> | 2004-05-19 09:17:11 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-19 09:17:11 +0800 |
commit | 8a1a98e13823ac4543d9c88af7005ce6f47a3d3a (patch) | |
tree | e173cd82f0fb35a3e3659874ae8579b30853c265 /mail | |
parent | 7aa624f4eb5c9191571bcf894e09952d0b3e94f1 (diff) | |
download | gsoc2013-evolution-8a1a98e13823ac4543d9c88af7005ce6f47a3d3a.tar gsoc2013-evolution-8a1a98e13823ac4543d9c88af7005ce6f47a3d3a.tar.gz gsoc2013-evolution-8a1a98e13823ac4543d9c88af7005ce6f47a3d3a.tar.bz2 gsoc2013-evolution-8a1a98e13823ac4543d9c88af7005ce6f47a3d3a.tar.lz gsoc2013-evolution-8a1a98e13823ac4543d9c88af7005ce6f47a3d3a.tar.xz gsoc2013-evolution-8a1a98e13823ac4543d9c88af7005ce6f47a3d3a.tar.zst gsoc2013-evolution-8a1a98e13823ac4543d9c88af7005ce6f47a3d3a.zip |
Added header "X-Newsreader" for handle Outlook Express as Mailer.
2004-05-18 Cantona Su <paradisetux@hotmail.com>
* em-format-html.c: Added header "X-Newsreader" for handle Outlook
Express as Mailer.
svn path=/trunk/; revision=25965
Diffstat (limited to 'mail')
-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"; |