gmail inbox reading from our application

Posted by Bhanubysani under ASP.NET on 4/23/2011 | Points: 10 | Views : 3357 | Status : [Member] | Replies : 1
hi how to read mails of gamil of my account from my application using c#..

Bhanu Prakash Bysani


Posted by: Umeshdwivedi on: 4/23/2011 [Member] Starter | Points: 25

The Internet Message Access Protocol (IMAP) allows a client to access and manipulate electronic mail messages on a server. It includes operations for creating, deleting, and renaming mailboxes; checking for new messages; permanently removing messages; setting and clearing flags; [RFC-822] and [MIME-IMB] parsing; searching; and selective fetching of message attributes, texts, and portions thereof. For more information: here.

I have written an IMAP client library which allows basic functionalities like login, select/examine folder, search messages, fetch message (Header, Body), get storage quota, and logout.

This is my first application developed in C#, so don't expect too much in terms of efficiency. It demonstrates the use of sockets, XML writer, and user defined exception handling. Please feel free to modify and use this code.
Reference this link visit this link

Latest Technology Trainer
And Part time software consultant

Bhanubysani, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response