T
Tony
Hi,
I need to determine filenames from attachements in a new mail.
I create a new mail (new mail inspector is opening) and attache several
files from desktop via drag&drop.
All files will be displayed in the new inspector with their original
filenames as title. In this case I'm able to determine original filename
from attachments properties (PR_ATTACH_FILENAME and/or
PR_ATTACH_LONG_FILENAME).
But when I attach another msg-file (saved from outlook), msg-files
subject will be displayed in the inspector (as attachments title). In
this case I get MAPI_E_NOT_FOUND for
PR_ATTACH_FILENAME/PR_ATTACH_LONG_FILENAME. Only
PR_DISPLAY_NAME-Property is available but contains subject instead of
filename.
Any ideas, how it is possible to determine native original filename of
attached msg-file?
Thanks!
I need to determine filenames from attachements in a new mail.
I create a new mail (new mail inspector is opening) and attache several
files from desktop via drag&drop.
All files will be displayed in the new inspector with their original
filenames as title. In this case I'm able to determine original filename
from attachments properties (PR_ATTACH_FILENAME and/or
PR_ATTACH_LONG_FILENAME).
But when I attach another msg-file (saved from outlook), msg-files
subject will be displayed in the inspector (as attachments title). In
this case I get MAPI_E_NOT_FOUND for
PR_ATTACH_FILENAME/PR_ATTACH_LONG_FILENAME. Only
PR_DISPLAY_NAME-Property is available but contains subject instead of
filename.
Any ideas, how it is possible to determine native original filename of
attached msg-file?
Thanks!