I want to create a service which receive all emails from IMAP server and download all attachment from Mails.
Can any one give me some code for this so that i can develope this?
Thanks.
How can i read Emails with attachment from IMAP server
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Hirendra SisodiyaRank #258 · 9.8K reputationPosted Oct 22, 2010, 9:52 PM EDT
you can connect imap with the help of tcpClient with hostname, port number, username and password.
and you can select inbox folder and read email with the help of various comands. i think you shoul read this documentation:
http://www.networksorcery.com/enp/protocol/imap.htm
thanks
Hirendra SisodiyaRank #258 · 9.8K reputationPosted Oct 22, 2010, 9:53 PM EDT
you can get email in MIME format sot you need to decode in your own format.
thanks