[Tickets #10306] Re: Unable to get message content on pre_sent hook

bugs at horde.org bugs at horde.org
Tue Jul 12 19:14:53 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         | Michael Slusarz <slusarz at horde.org>
  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             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-07-12 19:14) wrote:

>> Can this be closed?
>
> Just pulled your latest code (horde code only) and I am still unable  
> to use this hook.
>
> $message->getContents() always return empty :\

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).






More information about the bugs mailing list