6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7671] Problem with Compose and attachment
*
Your Email Address
*
Spam protection
Enter the letters below:
..__ .__..__ .___ |[__)| |[__)[__ \__|| \|__\| \[___
Comment
> I've added a debug line to imp/lib/Compose.php > > --- Compose.php.orig 2008-11-14 11:31:45.000000000 +0100 > > +++ Compose.php 2008-11-14 11:35:20.000000000 +0100 > > @@ -856,6 +856,7 @@ > > } > > } > > > > + Horde::logMessage(print_r($mime_message,true), __FILE__, > __LINE__, PEAR_LOG_ERR); > > /* Add the body text to the message string. */ > > > > which gives me the following parts of the email : > > [_type] => multipart > > [_subtype] => mixed > > [_parts] => Array > > ( > > [1] => MIME_Part Object > > ( > > [_type] => multipart > > [_subtype] => mixed > > [_parts] => Array > > ( > > [1] => MIME_Part Object > > ( > > [_type] => multipart > > [_subtype] => alternative > > [_parts] => Array > > ( > > [1] => MIME_Part Object > > ( > > [_type] => text > > > [_subtype] => plain > > [2] => MIME_Part Object > > ( > > [_type] => text > > > [_subtype] => html > > [2] => MIME_Part Object > > ( > > [_type] => image > > [_subtype] => jpeg > > > > > > > > I'm guessing the problem is coming from function MIME_Part:::toString. > > when toString is called : part 1.1 (so part 1.1.1 and 1.1.2) are > processed and then an ending boundary is added for the first time. > then part 1.2 is processed and an ending boundary is added for the > second time. > > > > Is this correct ? > >
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