Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
kali  
#1 Posted : Tuesday, August 20, 2013 4:52:50 AM(UTC)
kali

Rank: Newbie

Groups: Registered
Joined: 8/20/2013(UTC)
Posts: 0
India
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.
ivan  
#2 Posted : Tuesday, August 20, 2013 4:58:43 AM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,084

Thanks: 9 times
Was thanked: 46 time(s) in 46 post(s)
Originally Posted by: kali Go to Quoted Post
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();
Users browsing this topic
Forum Jump  
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.

Powered by YAF.NET | YAF.NET © 2003-2021, Yet Another Forum.NET
This page was generated in 0.044 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AdminSystem Software Limited.