[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1170: Support for IMAP in gb.net.curl

Benoît Minisini gambas at ...1...
Sat Sep 16 01:42:12 CEST 2017



-------- Message transféré --------
Sujet : [Gambas Bug Tracker] Bug #1170: Support for IMAP in gb.net.curl
Date : Fri, 15 Sep 2017 23:37:38 GMT
De : bugtracker at ...3416...
Pour : moviga at ...3488..., tmorehen at ...3634..., g4mba5 at ...626...

http://gambaswiki.org/bugtracker/edit?object=BUG.1170&from=L21haW4-

Comment #8 by Benoît MINISINI:

@Tony: it would be great if you can develop an ImapClient class.

Note that a Gambas component can have a part written in C and a part written inc Gambas.

So you can extend gb.net.curl with an _ImapClient "hidden" class written in C with all the libcurl stuff you need, maybe by copying the way HttpClient or FtpClient work, and then write the final ImapClient class in Gambas, making it inherit _ImapClient, if this scheme fits.

Another path is following the way gb.net.pop3 works. It does all the protocol stuff at the socket level, everything being written in Gambas. And then the SSL/TLS support is implemented by calling the "openssl" executable (see the source code for the details).

Just tell me if you have any question.







More information about the User mailing list