Re: IMAP client

Gerd Stolpmann <[email protected]> Fri, 07 Dec 2012 03:14:51 +0100
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <1354846491.3169.32@samsung>
Am 07.12.2012 00:13:59 schrieb(en) Julien Tesson:
> Hi !
> 
> I would be interested in an IMAP client implementation and I was  
> wondering if it was planned to be included in Ocamlnet or if someone  
> had already worked on this ?

No, at least I do not work on this.

> I may implement this in a near future if it has not been done, any  
> advice so that it could be easily integrated in Ocamlnet ?

Depends on what you are planning to do, e.g. whether it is sync or  
async. For a sync client a starting point could be the simple pop  
client in src/pop. For an async client look at the FTP client (but be  
warned, asnyc code is really an order of magnitude more difficult to  
develop).

Generally, you should try to reuse the existing concepts when possible.

Ocamlnet allows it to override DNS resolution globally. Please use the  
functions in Uq_resolver, and this is done right.

I'm planning to develop some SASL functionality, which is probably very  
useful for IMAP. The existing functions are not very accessible  
(actually, there is code for DIGEST-MD5 hidden in the http client, and  
there is SCRAM-SHA1 code, but with an interface suited for GSSAPI and  
not SASL). Also, some bindings to Cyrus would be good. I don't know  
when I've time to do this

> 
> Regards,
> Julien.
> 
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add  
> services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Ocamlnet-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel
> 
> 

-- 
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany    [email protected]
Creator of GODI and camlcity.org.
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
------------------------------------------------------------
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d