Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Outlook Automation
Message
 
To
01/08/2000 17:15:17
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00398593
Message ID:
00404741
Views:
25
>>#DEFINE olFolderOutBox 4
>>
>>oOutLookObject = CreateObject("Outlook.Application")
>>oNameSpace=oOutlookObject.GetNameSpace("MAPI")
>>oOutBoxFolder=oNameSpace.GetDefaultFolder(olFolderOutBox)
>>oEmailItem=oOutBoxFolder.Items.Add
>>With oEmailItem
>> .To = "i486dx@prodigy.net"
>> .Subject = "Test email message"
>> .Body = "Hello World"
>> .Save
>>EndWith

What property should I use to attach a file to the message?

With oEmailItem
.To = "i486dx@prodigy.net"
.Subject = "Test email message"
.Body = "Hello World"
.Attachment = doesn't work!
.Save
EndWith

Are there any URL that has an overwiew of these properties?
Vidar Johannessen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform