/ Forums / Advansys Formativ / Creating Solutions with Formativ / Where are all the other recipients? / Reply To: Where are all the other recipients?

#6615
Support 2
Moderator

The following examples represent two different ways to extract the CC recipients.

  dim theAppt
  dim iRecipient
  
  Set theAppt = Client.ClientState.CommandMessage  
  
  for x = 1 to theAppt.Recipients.Count
    set iRecipient = theAppt.Recipients.Item(x)
    
    ' Display CC type only
    if (iRecipient.TargetType = fgwCC) then
      msgbox iRecipient.EmailAddress
    end if
    
    set iRecipient = nothing
  next

  msgbox GroupWise.ItemGetText(theAppt.MessageID, itfCC)

Regards,

Advansys Support