Why does this use of the API for Events work in the Explorer, but not in the Message Template?
That's really strange! Just a guess but maybe it's a problem with the way $this-&gt;assign works in message templates? I've only tested that construct in smarty pages and message templates might have a different way of processing variables like that.