6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/26/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12062] Mime parser fails to parse multipart message
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ .__.. ,. . |__|| \| | \./ | | | ||__/|__\ | |/\|
Comment
> Hi, > > I had a Kolab calendar entry (created by another Kolab client) > that loaded just fine. When I tried to modify the object, > an exception about a missing mime part was thrown: > > "Missing expected mime type (application/x-vnd.kolab.event) > in object "123" in folder "INBOX/Calendar"! > > > Digging through the code I found out the parse code > for Kolab messages uses > > "Horde_Imap_Client_Fetch_Query()->structure()" > and then "Horde_Imap_Client->getStructure()". > > -> This properly finds the Kolab XML attachment part. > > > The save() function re-reads the message. > It uses "Horde_Imap_Client_Fetch_Query()->fullText()" > and then "Horde_Mime_Part::parseMessage()". > > -> The resulting body structure is one "text/plain" part. > > > Further debugging showed the Kolab object / email > in question is missing the > > "MIME-Version: 1.0" > > header field. Should the MIME parser be less strict about this? > > Thomas >
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