Re:IMAP client for coders
by tonyarkles on Monday February 04, 2013 @04:09PM
(#5167153)
I've been knee deep in imap for the last month or two. As a curiosity, which imap library are you using? I've had to contribute a few patches to ruby's net/imap already to get it to successfully parse all the mail I've accumulated over the last 10 years :)
[ Parent
| on HN ]
Re:IMAP client for coders
by fxtentacle on Monday February 04, 2013 @05:44PM
(#5167721)
I started with patching the IMAP parser from Google Go, then i re-wrote parts of it to make my email collection work.
I still cannot successfully MIME-parse all of my emails, but the ones that fail are spam (and also don't work in Outlook 2011) so i'd say it's the email's fault.
I can recommend Google Go for tasks such as IMAP because of its concurrency model. You can run a go-routine for each IMAP connection and their idea of agents communicating through channels worked really well for my IMAP client.
Re:IMAP client for coders
by tonyarkles on Tuesday February 05, 2013 @12:04AM
(#5169248)
That's really fascinating! I might have to look more into this. Last time I looked at Go, it was stuck without multi-CPU support, which was a show stopper for the project I was working on. Probably worth revisiting.