6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/4/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14943] Horde_Imap_Client_Data_Thread getRawData()
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ __ . .. .. . | \/ `|_/ | || | |__/\__.| \|/\||/\|
Comment
> >> getThread() requires UID. > > For the record, it could also be a sequence number. It depends on the > options passed to Horde_Imap_Client_Base::thread(). > >> So first I've got to fetch all messages to >> get UIDs, then fetch threads one by one. > > Not sure what you mean by you have to fetch all messages to get UIDs. > You shouldn't have to fetch anything else from the server after the > call to $imapOb->thread() to get UUIDs. > Horde_Imap_Client_Data_Thread::messageList() will return the (sorted) > list of all UUIDs that matched the search option in the thread() > call. While this list doesn't give you the thread structure, it would > be fairly easy to construct it by iterating once through the > messageList(). > > Not sure exactly what your use case is here for having access to the > entire mailbox's thread sort like this, but I can see where they may > be some value in having that data exposed. I'd consider a patch that > outputs this as a more formal structure. >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers