[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-devel] Snippet: Copy unread messages to maildir



Hi,

I thought it would be a good idea to copy the unread messages from my sup inbox
to a separate maildir to access it from my phone. Turns out that once you are
spoiled with sup, you cannot go back to "normal" mail clients (k-9 mail in this
case) ;-).

Nevertheless, I thought maybe somebody could use the code I wrote. I’m
attaching it to this mail, but beware, it still has a bug: It crashes when
exporting messages sometimes. It also uses absolute paths.

Best regards,
Michael

Attachment: copy-unread.rb
Description: application/ruby

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel