Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading Email attachment name with MAPI
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Reading Email attachment name with MAPI
Miscellaneous
Thread ID:
01059918
Message ID:
01059918
Views:
57
I prefer to use MAPI as it works with several email clients.
However with Outlook 2002, when reading the attachment I get a truncated AttachmentName and AttachmentPathName. For example:

When the real attachment name is: MyLongFileName.doc

loMessage.AttachmentName = "MyLongfl.doc"
loMessage.AttachmentPathName = "C:\DOCUME~1\admin\LOCALS~1\Temp\MyLongfl.doc"

How can I read the real Attachment file name?
Next
Reply
Map
View

Click here to load this message in the networking platform