-------- 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 : bugtrac...@gambaswiki.org
Pour : mov...@mykolab.ch, tmore...@ajm-software.com, g4m...@gmail.com

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.




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to