![]() ![]() Consider setting the Pop3Client.Port property to 995.UPDATE: In response to your updated question, I have just a few preliminary suggestions: ![]() If you decide this is something you could use after all and need further guidance, let me know. I have used this for specifically what you are asking about - scanning for and downloading attachments. The core class is Pop3Client, which provides access to POP3 functions such as ExecuteList, ExecuteTop, etc. This library provides access to POP3 mail, which many e-mail services (including Gmail) do offer in addition to the newer IMAP. Well, I know you specified IMAP4, but I figured I'd offer this anyway in case POP3 is an option, since it's been useful for me: UPDATE: Setting the port to 995 gives me a "Response TimeOut" exceptionĪs commented, I am having some issues while trying to connect and get the first e-mail. I'm using the following code: Dim cl As New Pop3Client()Ĭl.AuthenticateMode = Pop3AuthenticateMode.PopĬl.Authenticate() //takes a while, but passes even if there's a wrong passwordĭim mg As Pop3Message = cl.GetMessage(1) //gives me an exception: Message = "Pop3 connection is closed" I've already done this with a trial version of EAGetMail, but for the purpose of what i'm trying to attempt buying the unlimited version of this library isn't quite suitable (i didn't know that this functionality itself was one among the ones with limited time). Ideally it would allow me to get a list of them, and download only some given ones (filtering by extension, name, and/or size) and be free. NET to get attachments from an account (such as gMail, or others) via imap4 (not necessarely), and save them in a folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |