Hello, I am writing a transport agent and would like to enumerate through the Mailitem.Recipients Collection. What type does this return? For example: someType recipientsEnumerator = MailItem.Recipients.GetEnumerator() I am looking for what someType should be. Thanks Bill
It will be the EnvelopeRecipientCollection see http://msdn2.microsoft.com/en-us/library/microsoft.exchange.data.transport.mailitem.recipients(EXCHG.80).aspx and http://msdn2.microsoft.com/en-us/library/microsoft.exchange.data.transport.enveloperecipientcollection(EXCHG.80).aspx. All the types are documented in the reference section of the Exchange SDK. Cheers Glen "William T. Holmes" wrote in message news:C319AAFF3C134EDB8B9F4FF367803135@holmes.loc... Hello, I am writing a transport agent and would like to enumerate through the Mailitem.Recipients Collection. What type does this return? For example: someType recipientsEnumerator = MailItem.Recipients.GetEnumerator() I am looking for what someType should be. Thanks Bill