6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10306] Unable to get message content on pre_sent hook
*
Your Email Address
*
Spam protection
Enter the letters below:
__.. . ..__..__ (__ | | || |[__) .__)|/\|\__||__\| \
Comment
>> Added code to hooks.php to always grab the plaintext portion of the message. > > I was testing this hook now but I am still unable to use it :\ > > After some debug I found the problem. The Horde_Mime_Part received on > pre_sent hook do not have any mimeid set so the contentTypeMap method > always returns the first part only (multipart/alternative). > > I fixed this using $message->buildMimeIds() just before using IMP_Contents. > > I have no idea why this is happening.
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