Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing attachments to foxpro DBF
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00321992
Message ID:
00540575
Views:
22
Once you have access to the attachment file name, you have a portal to the file itself. For MAPIMail, you can open the file directly via the returned filename but for OutlookMail, you will need to use API call GetTempPath to identify where Outlook has stored it (this will be rectified in future version).

Example: Append From (oMail.GetAttachmentFile(1)) SDF - to append from an attached text file.

>>
>>If you want to link VFP with eMails, you can use my MAPIMail class in the downloads section here. This will enable you to scan through all eMail messages and read attachments directly - no need to store them in DBFs. If you are using Outlook, there will be a class specifically for manipulating Outlook eMails coming in the next couple of days.
>
>Your class is wonderful. It has been a great help. How do you get the actual file from outlook using your class? I found where you could get a list of attachment names, but can I get the actual files, so it can saved in a memo field...?
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform