Hi!
Did anyone ever connect with newLISP to an IMAP server? I know there's a pop3-module, but I didn't find something for the IMAP Protocol.
I'd like to test some of newLISPs string functions on my mails - hopefully some of them get lost ;-)
Cheers!
Hilti
Checking/reading/working with IMAP
Checking/reading/working with IMAP
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
Re: Checking/reading/working with IMAP
Anyone - or am I asking a stupid question?
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
-
- Posts: 608
- Joined: Mon Feb 05, 2007 1:04 am
- Location: Abbotsford, BC
- Contact:
Re: Checking/reading/working with IMAP
We need an IMAP module.
And truthfully, a MIME module would integrate beautifully with POP, SMTP, IMAP, and CGI modules.
Ted
And truthfully, a MIME module would integrate beautifully with POP, SMTP, IMAP, and CGI modules.
Ted
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence. Nine months later, they left with a baby named newLISP. The women of the ivory towers wept and wailed. "Abomination!" they cried.
Re: Checking/reading/working with IMAP
Building an interface to UW's c-client library and using it rather than creating an IMAP client in newLISP could be a way to go.
Just a thought.
-- Kirill
Just a thought.
-- Kirill
-
- Posts: 608
- Joined: Mon Feb 05, 2007 1:04 am
- Location: Abbotsford, BC
- Contact:
Re: Checking/reading/working with IMAP
I threatened to write a MIME module 2 years ago. I now have a real reason to do this; apart from email and http protocols, a certain telephony app needs it. Now I have to buckle under and do it. Fortunately, I now know newLISP well enough. This isn't as intimidating a task as it once was. The initial release will be very minimal MIME support, just enough to be standard compliant and usable; a lot of features won't be supported, but they won't cause crashes or inaccuracies either.
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence. Nine months later, they left with a baby named newLISP. The women of the ivory towers wept and wailed. "Abomination!" they cried.
Re: Checking/reading/working with IMAP
There was a code for base64 here:
http://newlispfanclub.alh.net/forum/vie ... ring#p1296
Maybe usefull.
http://newlispfanclub.alh.net/forum/vie ... ring#p1296
Maybe usefull.
Hans-Peter
-
- Posts: 608
- Joined: Mon Feb 05, 2007 1:04 am
- Location: Abbotsford, BC
- Contact:
Re: Checking/reading/working with IMAP
Thank you. Base64 is a part I don't plan to implement right away. For my purposes, just slurping in a MIME header, and breaking it into an assoc list of key-value pairs, is almost enough for what I need. For email purposes, all the other stuff swings into play.
Believe it or not, multipart/mixed and related MIME types can be very useful for streaming various sorts of media.
I had an idea a few years ago for a file system where every file was a MIME object that had its own metadata. John Sokol and Jesus Monroy had the idea too, and included it in the morphous OS. They presented it, and a engineer who later went to Google, made sure it got implemented into GMail.
MIME is a very powerful concept; the more it is used, the simpler it makes things. Way nicer than Apples resource fork concept.
Believe it or not, multipart/mixed and related MIME types can be very useful for streaming various sorts of media.
I had an idea a few years ago for a file system where every file was a MIME object that had its own metadata. John Sokol and Jesus Monroy had the idea too, and included it in the morphous OS. They presented it, and a engineer who later went to Google, made sure it got implemented into GMail.
MIME is a very powerful concept; the more it is used, the simpler it makes things. Way nicer than Apples resource fork concept.
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence. Nine months later, they left with a baby named newLISP. The women of the ivory towers wept and wailed. "Abomination!" they cried.