Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get CDO Message attachments contents
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
How to get CDO Message attachments contents
Miscellaneous
Thread ID:
00799089
Message ID:
00799089
Views:
245
Hi All,


I am using the foll. code to get *.EML message from a drop directory.

To test I put a *.EML message with att. in your local C:\
( drop to the explorer from outlook .. )
loDropDir = CREATEOBJECT("cdo.dropdirectory")
loMsgs = loDropDir.GetMessages("C:\")
loMsg = loMsgs.ITEM(1)
loAttach = loMsg.Attachments
IF loAttach.Count > 0

   loAttachFile = loMsg.Attachments.Item(1)

   * loAttachFile is a object but I don't know the interface ? 

ENDIF 
Tks
Next
Reply
Map
View

Click here to load this message in the networking platform