Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook
Message
From
28/02/2002 11:50:48
 
 
To
28/02/2002 11:31:11
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00626461
Message ID:
00626500
Views:
13
Steve
Thanks for the outlook object model reference, I was able to find it on my machine also and it will be a good resource in the future.

Made changes and it works great.

Thanks again!!

Gaylen


>Gaylen,
>
>See the additions to code below. On my machine, the Outlook object model is found in VBAOUTL9.cHM.
>
>>I need to use the bcc function of outlook and am having trouble with the syntex.
>>
>>The following doesn't seem to work. Probably bcc is incorrect.
>>
>>omail.bcc.add("bccrecipients&home.com")
>>
>>CODE use to create object
>>
>oOUTLOOK= Createobject('outlook.application')
>omail=oOUTLOOK.createitem(0)
>omail.recipients.add("tobesentname@comcast.net")
>oRecipient = omail.recipients.add("bccrecipients@home.com")
>oRecipient.type = 3  && BCC
>
>>
>
>Here are the recipientTypes:
>
>* OlMailRecipientType
>#define olOriginator 0
>#define olTo 1
>#define olCC 2
>#define olBCC 3
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform