Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Outlook Automation
Message
 
À
14/08/2000 23:53:10
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00398593
Message ID:
00404919
Vues:
28
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform