Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with sending Outlook email in VFP
Message
From
29/06/2003 18:27:04
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00804758
Message ID:
00805137
Views:
38
I'm sorry but in my first example I sent, I commented out the oRecipient = omail..... line of code by mistake. Therefore oRecipient.type = 3 errored as oRecipient wasn't defined.

This should do it.
oOUTLOOK= Createobject('outlook.application')
omail=oOUTLOOK.createitem(0)
omail.recipients.add("xxxxxxxx@comcast.net")
oRecipients = omail.recipients.add("yyyyyyy@comcast.net")
oRecipients.type = 3
omail.Display
Release  omail
oOUTLOOK = .Null.
Release oOUTLOOK
>If I really want to send CC's or BCC's programatically how do I fix that error?
>
>Thanks again for all your help!
>
>Regards,
>Torrey
Previous
Reply
Map
View

Click here to load this message in the networking platform