Rank: Newbie
Groups: Registered
Joined: 8/20/2013(UTC)
Posts: 0
Location: bangalore
how to set info.IMAP4MailFlags="(\\Seen)" in c#?i want to read only the unread mail in the gmail and think way will work. can u tell me if any other way exist for reading unread mail only from gmail ? i can use uid also,any other solution for it.
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Originally Posted by: kali how to set info.IMAP4MailFlags="(\\Seen)" in c#?i want to read only the unread mail in the gmail and think way will work. can u tell me if any other way exist for reading unread mail only from gmail ? i can use uid also,any other solution for it.
first of all, you can use MarkAsRead method to mark the flags to read.
http://www.emailarchitec...ct=mailclient_markasread secondly, you can use
oClient.GetMailInfosOption = GetMailInfosOptionType.NewOnly; MailInfo[] infos = oClient.GetMailInfos();
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.