Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Outlook Automation
Message
 
To
14/08/2000 23:53:10
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00398593
Message ID:
00404919
Views:
27
How do you specify when you have more than one attachment?

Thanks!

>>>>#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?
** Gerry White / Hagerstown, MD, USA --
** Developing since 1986 in Foxpro, VFP, Oracle, and Java.
** http://GerrysPlace.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform