Rank: Newbie
Groups: Registered
Joined: 11/1/2016(UTC) Posts: 4
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
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,152
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi, you can use this undocumented property, it will be formal property at next major release.
Code:
MailInfo info = infos[i];
if ((info.Flags & MailFlagsType.Draft) == MailFlagsType.Draft)
{
//this is draft.
}
Rank: Newbie
Groups: Registered
Joined: 11/1/2016(UTC) Posts: 4
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
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,152
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Yes, only latest version 4.6+ supports this.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.