java - JavaMail: Searching for emails -
java - JavaMail: Searching for emails -
i'm busying trying implement/play around oracle's javamail. i'm using index big quantities of emails via imap (as need folder structure). i'll cutting chase: there quick way search across folders particular message-id?
what i'm doing downloading subset of emails folder, , reading 'references' header of each email. in order compile emails mutual discussions/threads need find remaining emails referenced in each email's header. there way this? going compiling messages mutual threads wrong way?
i've thought iterating through each folder , doing search, method slow...
any input muchly appreciated ;-)
there's imap extensions might help, few implemented more 1 server, , typically not popular servers. so, pretty much, you're stuck doing hard way. can parallelize operations on folders if help.
within limits of have do, there more , less efficient ways using imap protocol , javamail api. sure @ folder.fetch method, example.
you might find writeup of message threading helpful.
java email javamail
Comments
Post a Comment