Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
E-mail attachment in Outlook
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00259679
Message ID:
00259695
Views:
13
Hi All,

Just incase anyone else has this problem in the future, I found the answer myself. Hopefully this will save someone some time.

Here it is:

oOutLookObject = CREATEOBJECT('Outlook.Application')
oEmailItem = oOutLookObject.CreateItem(0)

WITH oEMailItem
.Attachments.Add('c:\myfile.rtf')
ENDWITH
Previous
Reply
Map
View

Click here to load this message in the networking platform