|
|
|||
| Basic Outlook Printer Friendly Version | |||
|
|
Working with Outlook items, folders, recipients; dealing with security; writing event handlers | ||
| Topic | |||
|
|
How to get individual file details of attchment
Before sending the mail, How to get the details(Full path of the file and file size) of all the files in attachment. I am using the Outlook.mailitem object, it is giving filename correctly but it is not giving the null for pathname. And it is not giving the individual file details. If anybody know the solution please reply. Thanks in advance... mahesh K 29-Nov-2006 01:48 |
||
|
|
Sue Mosher
29-Nov-2006 07:06
There is no path except for linked files. An attached file is fully embedded in the Outlook item and so has no path. Other individual file details, such as size, can be obtained only by saving the file out to the hard drive and using normal file methods to access it or by saving the unsent message and then using CDO 1.21 or Redemption to access the MAPI properties of its attachments. A copy of Outlook Spy or MFCMAPI will show you what's available in detail. |
||
|
|
mahesh K
29-Nov-2006 08:12
Thanks for quick response, So , dont we have any way to get the full file path ? |
||
|
|
Sue Mosher
29-Nov-2006 08:48
Repeating: There is no full file path. Once the file is attached, it has no relationship to the original copy of the file. As far as Outlook is concerned, that file no longer exists. |
||
|
|
Mahesh K
30-Nov-2006 01:19
Thanks Sue |
||
|
|
|||
