commit 4c22c57e21f418fd5f76c5110d5d9f7df0ea8268
Author: Johnny Jacob <johnnyjacob@gmail.com>
Date:   Tue Feb 16 11:42:53 2010 +0530

    Bug #602895 - To field is not shown in sent item folder
    
    In 'Sent Items' folder PR_TRANSPORT_MESSAGE_HEADERS is not available.
    So use MAPI_TO recipient type when necessary.

	Modified src/camel/camel-mapi-folder.c
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index f3ca3cb..570fdd3 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -1447,7 +1447,11 @@ mapi_mime_set_recipient_list (CamelMimeMessage *msg, MapiItem *item)
 	}
 	
 	/*Add to message*/
-	/*Note : To field is added from PR_TRANSPORT_MESSAGE_HEADERS*/
+	/*Note : To field is added from PR_TRANSPORT_MESSAGE_HEADERS
+	  But, in sent_items folder we don't get TRANSPORT_MESSAGE_HEADERS */
+	if (!item->header.transport_headers)
+		camel_mime_message_set_recipients(msg, "To", to_addr);
+
 	camel_mime_message_set_recipients(msg, "Cc", cc_addr);
 	camel_mime_message_set_recipients(msg, "Bcc", bcc_addr);
 

