I am trying to retrieve the exchange id (not the RFC message id) for an email. There is no method for that in the ExchangeMessageInfo object so I thought it might be in the Properties. But now I’m having problems with them.
I’m attempting to print all the properties by using:
MapiPropertyCollection prop = msgInfo.getProperties();
IGenericCollection keys = prop;
Then looping through the collection. But no matter how I try, I can’t get IGenericCollection imported. The doc says it’s:
but that gives me an error.