[Migrated content. Thread originally posted on 18 February 2008]
I have an application that sends emails through Outlook. I now want to add additional recipients that will go in the Cc: list. I cannot figure out how to control where the recipient goes. The example in VB is:set objOutlookRecip = .Recipients.Add (email address)
objOutlookRecip.Type = olCC
I can get the list of recipients in my RECIPIENTS-HANDLE in my program, but they are all in the To: list, I cannot figure out how to set the type. The .def is:
* OlMailRecipientType
CLASS @OlMailRecipientType
CLSID, 00000000-0000-0000-0000-000000000000
NAME, "OlMailRecipientType"
* "long olOriginator"
ENUMERATOR, @olOriginator, 0
* "long olTo"
ENUMERATOR, @olTo, 1
* "long olCC"
ENUMERATOR, @olCC, 2
* "long olBCC"
ENUMERATOR, @olBCC, 3
I do not know how to use this to modify which recipients I want to add to my message.
TIA,
Rebekah



