[Lazarus] HTTP and POP3 client components

Antonio Fortuny a.fortuny at sitasoftware.lu
Mon Dec 3 14:27:32 CET 2012



Le 03/12/2012 11:59, Michael Schnell a écrit :
> Hi,
>
> Sorry for being a nuisance again :-[ ....
>
> We need to do a command line program to run n Linux (PC, later ARM),
> that  reads a mail via POP3 and then does some communication towards
> some HTTP server (reading some pages and setting a value with some cgi
> program running there.)
>
> I do know that decent HTTP and POP3 components are available with Indy,
> but I am afraid of trying to use Indy on Lazarus/ARM/Linux.
I currently use Indy 10 (10.5.8) successfully with 
Win32-Win64-WinCE(Arm)-Linux64 with Lazarus (1.1) and Delphi (5, 2007), 
all platforms talking to each other over TCP/IP. Pretty simple to use (a 
little more difficult to compile for Lazarus)
Blocking sockets with timeouts
>
> As we already successfully did an FTP client program on Lazarus with
> lnet, I decided to try to use lnet, here again.
>
> So I installed the latest lnet package and found that in fact a HTTP
> client component is available.
>
> Up till now, I failed to find a decent documentation, so I was not able
> to read a page from a web server (in fact I would need a proxy for some
> environments, but - at least on Linux - I suppose there is a system wide
> proxy definition that might automatically apply.
>
> In fact "connect" seems to work, but what now ?....
>
> Seemingly lnet does not provide a POP3 client component out of the box.
> So what to do ?
>
> Thanks for any pointers,
> -Michael
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>






More information about the Lazarus mailing list