libyal / libpff

Library and tools to access the Personal Folder File (PFF) and the Offline Folder File (OFF) format
GNU Lesser General Public License v3.0
289 stars 74 forks source link

In pypff, at get _ * _ time, I fixed the error #46

Closed kimtaehong closed 6 years ago

kimtaehong commented 7 years ago

hi, I am reminded that I have fixed an error in the get * time function call. When calling the libpff_messageget " time function inside the get * _ time function, it seems that an error occurred because an invalid parameter was passed as follows.

...
 result = libpff_message_get_delivery_time(
                         pypff_item->record_set,
                     &filetime,
                     &error );
...

So I fixed it as follows and it worked normally. If you have resolved the bug, please check again.

...
 result = libpff_message_get_delivery_time(
                         pypff_item->item,
                     &filetime,
                     &error );
...

And I'm wondering how to use attachments object calls. Currently it says that it should be called with attachments or get_attachment (index).

joachimmetz commented 6 years ago

Python bindings are WIP (also see https://github.com/libyal/libpff/issues/2)

joachimmetz commented 6 years ago

Looks like this could be a duplicate of https://github.com/libyal/libpff/issues/39

joachimmetz commented 6 years ago

made some changes in ee17d7c