1 May 2017

Pick up Emails from IMAP

            
using (ImapClient client = new ImapClient("server.name", 993, "account.name", "account.passwd", AuthMethod.Login, true))
            {

                IEnumerable<uint> uids = client.Search(SearchCondition.SentSince(DateTime.Now.AddDays(-7)));
                IEnumerable<mailmessage> messages = client.GetMessages(uids, FetchOptions.HeadersOnly);
            }

3 comments:

  1. Thank You For Sharing This With Us This is Really Something Helpful..
    modelingdiet.com

    ReplyDelete
  2. Web designs that focus on conversions make you more money, it's that simple. web developer

    ReplyDelete

Comments are very welcome unless you're a spammer, in which case you should probably kill yourself.

If I helped you out today, you can buy me a beer below. Cheers!