6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12536] Single-part "multipart" message returns no content
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. .\ /. .___. |\ || | >< | | | \||/\|/ \|___ |
Comment
> When parsing a "multipart" message with only a single part, I can > never get content back from it. > > $structure = \Horde_Mime_Part::parseMessage($message); > $part = $structure->getPart(1); > $out = $part->getContents(); > > This is (I believe) because the "length" key is never set on the > array to get the substring containing the part itself in > \Horde_Mime_Part::_findBoundary(). At the end of the method, it > should check to see if there was only a single part and set the > length to -1.
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