Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to attach text file in outlook thru VFP
Message
From
24/11/2003 08:06:08
 
 
To
06/11/2003 22:10:44
Devrishi Bhogra
Escorts Claas Limited
Faridabad, India
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00847476
Message ID:
00852902
Views:
12
hi devrishi

this very basic example works for me, if not for you then post more details on the actual error.

oOutlook = CreateObject("outlook.application")
oMailItem = oOutlook.CreateItem(0)
oMailItem.Recipients.Add("mickey@mouse.com")
oMailItem.Attachments.Add("c:\temp\temp.txt")
oMailItem.Save()
oMailItem.Send()
Release All
Return

regards.
Previous
Reply
Map
View

Click here to load this message in the networking platform