Add MAPI definitions for Message-ID and In-Reply-To#159
Conversation
|
Thanks for the proposed changes, you might need to rebase with HEAD given you submitted the PR while I was making some changes. I'll take a close look as soon as time permits |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #159 +/- ##
==========================================
- Coverage 27.26% 27.25% -0.02%
==========================================
Files 63 63
Lines 20591 20530 -61
Branches 4975 4975
==========================================
- Hits 5615 5596 -19
+ Misses 13242 13200 -42
Partials 1734 1734 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Rebased. Thanks for a quick response. :) |
| { _SYSTEM_STRING( "Reminder time:\t\t\t\t" ), LIBPFF_ENTRY_TYPE_MESSAGE_REMINDER_TIME, LIBPFF_VALUE_TYPE_FILETIME, 0, NULL }, | ||
| { _SYSTEM_STRING( "Reminder signal time:\t\t\t" ), LIBPFF_ENTRY_TYPE_MESSAGE_REMINDER_SIGNAL_TIME, LIBPFF_VALUE_TYPE_FILETIME, 0, NULL }, | ||
| { _SYSTEM_STRING( "Is private:\t\t\t\t" ), LIBPFF_ENTRY_TYPE_MESSAGE_IS_PRIVATE, LIBPFF_VALUE_TYPE_BOOLEAN, 0, NULL }, | ||
| { _SYSTEM_STRING( "Message-ID:\t\t\t\t" ), LIBPFF_ENTRY_TYPE_INTERNET_MESSAGE_ID, LIBPFF_VALUE_TYPE_STRING, 0, NULL }, |
There was a problem hiding this comment.
Note that the function export_handle_export_message_header_to_item_file exports an Outlook message header not an Internet message header.
The Internet headers are exported via export_handle_export_message_transport_headers
|
|
||
| LIBPFF_ENTRY_TYPE_MESSAGE_BODY_HTML = 0x1013, | ||
|
|
||
| LIBPFF_ENTRY_TYPE_INTERNET_MESSAGE_ID = 0x1035, |
There was a problem hiding this comment.
Note that _ID does not correspond to _IDENTIFIER used elsewhere in the codebase
| uint8_t flags, | ||
| libpff_error_t **error ); | ||
|
|
||
| /* Retrieves the size of the UTF-16 encoded item Message-ID |
There was a problem hiding this comment.
These helper macros are not used.
|
I think the functionality you want is already provided by export_handle_export_message_transport_headers. Let me know if this if this is not the case |
Summary
Add support for reading and exporting the Internet Message-ID and In-Reply-To MAPI properties.
Changes
LIBPFF_ENTRY_TYPE_INTERNET_MESSAGE_IDandLIBPFF_ENTRY_TYPE_IN_REPLY_TO_IDpffexportmessage header output