trentcioran
8 years ago
Hi,

I am connecting to an exchange server but haven't seen a property that tells me an email is a draft. Is there a way to identify draft emails when retrieving items from a folder? Am I missing something?


Thanks in advance,
Manuel
ivan
  • ivan
  • 100% (Exalted)
  • Administration
8 years ago
Hi, you can use this undocumented property, it will be formal property at next major release.

MailInfo info = infos[i];
if ((info.Flags & MailFlagsType.Draft) == MailFlagsType.Draft)
{ 
  //this is draft.
}
trentcioran
8 years ago
Thank you Ivan,

I don't see that property in the MailInfo class, is this a 4.6+ only property? (I have currently 4.5).


Thank you,
Manuel
ivan
  • ivan
  • 100% (Exalted)
  • Administration
8 years ago
Yes, only latest version 4.6+ supports this.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.