imap package

Peter Karp <[email protected]> Thu, 31 Aug 2006 16:18:30 -0700
Newsgroups gmane.lisp.open-source.franz
Message-ID <[email protected]>
Your imap package is quite useful, thanks.

However, I found the documentation of fetch-field and fetch-parts
quite hard to follow, with no good examples.

Suggest you incorporate the following function at least in the
examples section of the documentation:

;; Retrieve the subject of message N of Mbox as a string.

(defun get-subject (mbox n)
   (po:envelope-subject (po:fetch-field n "envelope" (po:fetch-parts mbox n 
"envelope")))
   )


If you are interested, I have written a Lisp program that will
remove duplicate messages from an imap mailbox.  I'd be happy to
contribute it to the package.

P