Hello Gurus, Geeks and Nerds, I am coding a IMAP-Client and it works already nice. Currently I can show messages in a simpel list without threating. This is nice, if you are in limited Resources (e.g. GSM/GPRS) since you need a bare minimum of headers and save traffic.
OK, now I want to add TWO functions to 1) get the Mailbox-View threated 2) get the Mailbox-Messages threated Since my IMAP-Client will have three fields like +---------+--------------------------+ | | | | Mailbox | Mailbox Messages threads | | thread | | | +--------------------------+ | | | | | | | | Current Message | | | | | | | +---------+--------------------------+ Now I have readed the Perl-GTK stuff and other manpages but I can not get the threds in a GTK-Listbox working The IMAP Mailfolders are: imaps://imap.server.tld/INBOX imaps://imap.server.tld/INBOX.ML_perl imaps://imap.server.tld/INBOX.ML_perl.beginners imaps://imap.server.tld/INBOX.ML_perl.gtk Where the DOT in the Mailbox Path is the Hierarchy seperator and I like to show it as: imap.server.tld (23/348msgs) / (0/0msgs) ML_perl/ 0/14msgs) beginners/ (16/218msgs) gtk/ (7/116msgs) The second thread is a little bit heavier, since I have to use Message-ID: References: In-Reply-To: and missing messages should be shown as in "mutt" or placing an "dummy" message into the folder which indicate a missing message. So my idea was if I download the headers for the threating, I associate each Message-ID with an internal continous temp number (max 6 digits) and then in the listbox I use something like 000001 How does this work 000001.000002 +--Re: How does this work 000001.000002.000003 | +--Re: How does this work 000001.000004 +--Re: How does this work 000001.000004.000005 +--Re: How does this work Any (better) suggestions? Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature