aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorCantona Su <paradisetux@hotmail.com>2004-05-19 09:17:11 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-19 09:17:11 +0800
commit8a1a98e13823ac4543d9c88af7005ce6f47a3d3a (patch)
treee173cd82f0fb35a3e3659874ae8579b30853c265 /mail/em-format-html.c
parent7aa624f4eb5c9191571bcf894e09952d0b3e94f1 (diff)
downloadgsoc2013-evolution-8a1a98e13823ac4543d9c88af7005ce6f47a3d3a.tar.gz
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/em-format-html.c')
-rw-r--r--mail/em-format-html.c3
1 files changed, 2 insertions, 1 deletions
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";