AgentTicketPrint to send an email

Juan Manuel Clavero Almirón <[email protected]>
Newsgroups gmane.comp.otrs.devel
Message-ID <4E6C4135180B424CBFC6C6DE9456154A48FD8896@SCPDPSEXMB03P.ssib.local>
Hi all,

We want to send an email when there is an update in Dynamic Field called "External". This email should have as much info as possible. I've succesfully created an event listener that gets called upon TicketDynamicFieldUpdate_External.

I was thinking that a perfect body for this email would be the output of AgentTicketPrint, but:
1. Default system print is to PDF, and there seems to be no param to modifi AgentTicketPrint to output HTML;
2. As my module is an event listener, it seems it doesn't receive the LayoutObject and cannot create a new one, so I cannot use AgentTicketPrint.dtl nor any other Layout functionality.

Anyone has any clue as to how I could create a perfect email body using already existing OTRS modules?

Kind regards,
Juan Clavero

OTRS 3.1 on CentOSLinux [Apache and MySQL]
connected to an Active Directory for Agents and Customers.


_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.