[twsocket] Simple POP3 application

2009-11-16 Thread Kochendoerfer, Michael
Hi, I'm curious if there's a very simple way to retrieve mails from a POP3 account for writing them out to files. The MailRcv1 demo is too much for this (to handle and to understand), so I'm just looking for a very simple example on how to do it. Should be not much more than open/list

Re: [twsocket] Simple POP3 application

2009-11-16 Thread Alex Greenspan
You can use the indy POP3 component. I've used it in Delphi 7 and it's fairly simple. -Alex Greenspan On Mon, Nov 16, 2009 at 8:24 AM, Kochendoerfer, Michael m...@hem.de wrote: Hi, I'm curious if there's a very simple way to retrieve mails from a POP3 account for writing them out to files.

Re: [twsocket] Simple POP3 application

2009-11-16 Thread Fastream Technologies
I presume Francois will get angry when he reads your suggestion of a competitor on ICS list. SZ On Mon, Nov 16, 2009 at 3:42 PM, Alex Greenspan dig...@gmail.com wrote: You can use the indy POP3 component. I've used it in Delphi 7 and it's fairly simple. -Alex Greenspan On Mon, Nov 16,

Re: [twsocket] Simple POP3 application

2009-11-16 Thread Kochendoerfer, Michael
I'd like to stay with ICS, as Indy gave me too many problems in the past... However - I found an old sample ('a mini pop3cli' - thanks to Wilfried :)), but this won't work. It enters state STAT, but when entering RETR, it gives an POP3 error 500 (RqType is 7), and I don't know where it comes

Re: [twsocket] Simple POP3 application

2009-11-16 Thread Wilfried Mestdagh
Hello Michael, Can you point me to the example and what exacly is going wrong? I like to help you. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Monday, November 16, 2009, 15:26, Kochendoerfer, Michael wrote: I'd like to stay with ICS,

Re: [twsocket] Simple POP3 application

2009-11-16 Thread Michael Kochendoerfer
Wilfried, thanks for your great support! I'd like to send you the example offline, as soon as I'll get access to my office pc. Michael Wilfried Mestdagh schrieb: Hello Michael, Can you point me to the example and what exacly is going wrong? I like to help you. --- Rgds, Wilfried [TeamICS]

Re: [twsocket] Simple POP3 application

2009-11-16 Thread Wilfried Mestdagh
Hello Michael, I have received it and check as soon as I have a free moment. I post copy on this list as it probably will benefit others. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Monday, November 16, 2009, 18:19, Michael Kochendoerfer

Re: [twsocket] Simple POP3 application

2009-11-16 Thread Michael Kochendoerfer
Wilfried, what I've done so far: I've changed the Pop3CliMessageLine procedure to show length and content of each read line, and I found that the output ends with two lines having length of 0 each, but the mail in question doesn't really end here. After the last line, there's a