[Tickets #10306] Re: Unable to get message content on pre_sent hook
bugs at horde.org
bugs at horde.org
Tue Jul 12 19:41:01 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10306
------------------------------------------------------------------------------
Ticket | 10306
Updated By | rui.carneiro at portugalmail.net
Summary | Unable to get message content on pre_sent hook
Queue | IMP
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
rui.carneiro at portugalmail.net (2011-07-12 19:41) wrote:
> Why are you using getContents()? That only returns the text
> contained in the base part. If sending text/html messages, this
> will always be empty (since it is a multipart/related part, which
> has not text of its own).
I was just trying to use the example provided. My knowledge of
Mime_Part is not that much :X
Can you update hooks.php.dist with an example of how to do it with
text/html messages? Please? :)
More information about the bugs
mailing list