I want the free library for .NET to receive attachments from an account (for example, gMail or others) via imap4 (optional) and save them in a folder.
Ideally, this will allow me to get a list of them and download only some of them (filtering by extension, name and / or size) and be free.
I already did this with a trial version of EAGetMail , but for what I am trying to buy an unlimited version of this library is not quite suitable (I did not know that this functionality itself was one of those who had a limited time).
--- [edit - Higuchi] ---
I am using the following code:
Dim cl As New Pop3Client()
cl.UserName = "marcelo.f.ramires@gmail.com"
cl.Password = "mypassword"
cl.ServerName = "pop.gmail.com"
cl.AuthenticateMode = Pop3AuthenticateMode.Pop
cl.Ssl = False
cl.Authenticate()
Dim mg As Pop3Message = cl.GetMessage(1)
UPDATE: setting the port to 995 gives me a "Response TimeOut" exception
, . ?