I have an EmailMessage item saved in Draft folder. I need to open an editing form of it in browser, but cannot found id that is used by web client. In documentation there is such property, but it fails with Microsoft Exchange Server 2007. What is alternative? Any help is appreciated.
A:
I've found.
ExchangeService service = new ExchangeService();
EmailMessage message = EmailMessage.Bind(new ItemId("someId"));
var alternateId = new AlternateId();
alternateId.UniqueId = message.Id.UniqueId;
alternateId.Mailbox = "somemailbox";
alternateId.Format = IdFormat.EwsId;
var convertedId = service.ConverId(alternateId, Format.OwaId) as AlternateId;
And convertedId.UniqueId is what I need;
Yurec
2010-02-02 12:23:27