Does Fantom currently support IMAP or have any API's for IMAP in it or are there any IMAP libraries written in Fantom yet? A quick search on this site didn't reveal anything, and the Email docs only show support for SMTP.
Thanks!
brianWed 2 Oct 2013
I don't know of IMAP in native Fantom. I wrote the SMTP from scratch because of the horror I've had working with Java Mail APIs - shudder! But for now using Java FFI with that might be your best bet
tcolarWed 2 Oct 2013
I had started doing some mail stuff here a while back, but never got finished(not even close), in other words it's probably useless.
https://bitbucket.org/status302/mail302/
IIRC I had done some work on SMTP protocol(server side), parsing IMAP messages and IMAP protocol, i think only the message parsing was usable, the rest not anywhere useful .... Those protocols are a bear to deal with BTW.
So yeah, unless you have lots of free time, java FFI is probably your best bet.
shockrWed 13 Nov 2013
Thanks Brian and tcolar. Is it possible to write an IMAP library in Fantom? I'd like to give it a go, it's definitely something I'd invest a lot if effort into and would love for Fantom to have a built in library for sending/receiving mail.
brianThu 14 Nov 2013
A IMAP client written in Fantom that works well with existing email APIs would be really great. We need one at some point.
shockrThu 14 Nov 2013
Great. I have a bit more time on my hands lately so I'll get started on it.
shockr Wed 2 Oct 2013
Does Fantom currently support IMAP or have any API's for IMAP in it or are there any IMAP libraries written in Fantom yet? A quick search on this site didn't reveal anything, and the Email docs only show support for SMTP.
Thanks!
brian Wed 2 Oct 2013
I don't know of IMAP in native Fantom. I wrote the SMTP from scratch because of the horror I've had working with Java Mail APIs - shudder! But for now using Java FFI with that might be your best bet
tcolar Wed 2 Oct 2013
I had started doing some mail stuff here a while back, but never got finished(not even close), in other words it's probably useless.
https://bitbucket.org/status302/mail302/
IIRC I had done some work on SMTP protocol(server side), parsing IMAP messages and IMAP protocol, i think only the message parsing was usable, the rest not anywhere useful .... Those protocols are a bear to deal with BTW.
So yeah, unless you have lots of free time, java FFI is probably your best bet.
shockr Wed 13 Nov 2013
Thanks Brian and tcolar. Is it possible to write an IMAP library in Fantom? I'd like to give it a go, it's definitely something I'd invest a lot if effort into and would love for Fantom to have a built in library for sending/receiving mail.
brian Thu 14 Nov 2013
A IMAP client written in Fantom that works well with existing email APIs would be really great. We need one at some point.
shockr Thu 14 Nov 2013
Great. I have a bit more time on my hands lately so I'll get started on it.