[evolution-patches] handle header "X-Newsreader"



Hi,

     I added a line for mail/em-format-html.c to read header
X-Newsreader as Mailer.
 Attached the patch file.

Regards
cantona.
Index: mail/em-format-html.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-format-html.c,v
retrieving revision 1.56
diff -u -r1.56 em-format-html.c
--- a/mail/em-format-html.c	18 May 2004 07:48:19 -0000	1.56
+++ b/mail/em-format-html.c	18 May 2004 11:08:00 -0000
@@ -1651,7 +1651,9 @@
 			
 			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") ||
+					//handle header "X-Newsreader" for detect outlook express as well -cantona softhome net
+					       !g_ascii_strcasecmp (header->name, "X-Newsreader"))) {
 					struct _camel_header_raw xmailer;
 					
 					xmailer.name = "X-Evolution-Mailer";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]