diff src/libpst.c @ 63:cfd6175f9334

Start work on pst2dii to convert to Summation dii load file format.
author Carl Byington <carl@five-ten-sg.com>
date Sat, 23 Feb 2008 14:36:17 -0800
parents 97b7706bdda2
children 63c02a242ca9
line wrap: on
line diff
--- a/src/libpst.c	Sat Feb 16 12:43:42 2008 -0800
+++ b/src/libpst.c	Sat Feb 23 14:36:17 2008 -0800
@@ -2002,6 +2002,9 @@
                     break;
                 case 0x0044: // PR_RCVD_REPRESENTING_NAME Name of Recipient Structure 2
                     DEBUG_EMAIL(("Received on behalf of Structure Name -- NOT HANDLED\n"));
+                    MALLOC_EMAIL(item);
+                    LIST_COPY(item->email->outlook_recipient_name, (char*));
+                    DEBUG_EMAIL(("%s\n", item->email->outlook_recipient_name));
                     break;
                 case 0x004F: // PR_REPLY_RECIPIENT_ENTRIES Reply-To Structure
                     DEBUG_EMAIL(("Reply-To Structure -- NOT HANDLED\n"));
@@ -2088,12 +2091,30 @@
                     LIST_COPY(item->email->proc_subject, (char*));
                     DEBUG_EMAIL(("%s\n", item->email->proc_subject));
                     break;
-                case 0x0071: // PR_CONVERSATION_INDEX Date 2
+                case 0x0071: // PR_CONVERSATION_INDEX
                     DEBUG_EMAIL(("Conversation Index - "));
                     MALLOC_EMAIL(item);
                     memcpy(&(item->email->conv_index), list->items[x]->data, sizeof(item->email->conv_index));
                     DEBUG_EMAIL(("%i\n", item->email->conv_index));
                     break;
+                case 0x0072: // PR_ORIGINAL_DISPLAY_BCC
+                    DEBUG_EMAIL(("Original display bcc - "));
+                    MALLOC_EMAIL(item);
+                    LIST_COPY(item->email->original_bcc, (char*));
+                    DEBUG_EMAIL(("%s\n", item->email->original_bcc));
+                    break;
+                case 0x0073: // PR_ORIGINAL_DISPLAY_CC
+                    DEBUG_EMAIL(("Original display cc - "));
+                    MALLOC_EMAIL(item);
+                    LIST_COPY(item->email->original_cc, (char*));
+                    DEBUG_EMAIL(("%s\n", item->email->original_cc));
+                    break;
+                case 0x0074: // PR_ORIGINAL_DISPLAY_TO
+                    DEBUG_EMAIL(("Original display to - "));
+                    MALLOC_EMAIL(item);
+                    LIST_COPY(item->email->original_to, (char*));
+                    DEBUG_EMAIL(("%s\n", item->email->original_to));
+                    break;
                 case 0x0075: // PR_RECEIVED_BY_ADDRTYPE Recipient Access Method
                     DEBUG_EMAIL(("Received by Address type - "));
                     MALLOC_EMAIL(item);
@@ -3755,7 +3776,11 @@
             SAFE_FREE(item->email->htmlbody);
             SAFE_FREE(item->email->in_reply_to);
             SAFE_FREE(item->email->messageid);
+            SAFE_FREE(item->email->original_bcc);
+            SAFE_FREE(item->email->original_cc);
+            SAFE_FREE(item->email->original_to);
             SAFE_FREE(item->email->outlook_recipient);
+            SAFE_FREE(item->email->outlook_recipient_name);
             SAFE_FREE(item->email->outlook_recipient2);
             SAFE_FREE(item->email->outlook_sender);
             SAFE_FREE(item->email->outlook_sender_name);