[evolution-mapi] Bug 593176 - winmail.dat sent in outgoing plaintext mail



commit fb5213a22fbdf4b43f487f1da63a9e122396a547
Author: Johnny Jacob <jjohnny novell com>
Date:   Fri Aug 28 09:40:18 2009 +0530

    Bug 593176 - winmail.dat sent in outgoing plaintext mail

 src/camel/camel-mapi-utils.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-mapi-utils.c b/src/camel/camel-mapi-utils.c
index ea8708f..6f4eb5f 100644
--- a/src/camel/camel-mapi-utils.c
+++ b/src/camel/camel-mapi-utils.c
@@ -358,7 +358,7 @@ camel_mapi_utils_create_item_build_props (struct SPropValue **value, struct SPro
 	MapiItem *item = (MapiItem *) data;
 	struct SPropValue *props;
 	GSList *l;
-
+	bool *send_rich_info = g_new0 (bool, 1);
 	uint32_t *msgflag = g_new0 (uint32_t, 1);
 	int i=0;
 
@@ -368,6 +368,9 @@ camel_mapi_utils_create_item_build_props (struct SPropValue **value, struct SPro
 	set_SPropValue_proptag(&props[i++], PR_CONVERSATION_TOPIC_UNICODE, g_strdup (item->header.subject));
 	set_SPropValue_proptag(&props[i++], PR_NORMALIZED_SUBJECT_UNICODE, g_strdup (item->header.subject));
 
+	*send_rich_info = false;
+	set_SPropValue_proptag(&props[i++], PR_SEND_RICH_INFO, (const void *) send_rich_info);
+
 	*msgflag = MSGFLAG_UNSENT;
 	set_SPropValue_proptag(&props[i++], PR_MESSAGE_FLAGS, (void *)msgflag);
 



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