Create an attachment via template

Hi everyone,

is it somehow possible to create a text attachment from inside the
template? I would like to have some within the ‘On Correspond Notify
Requestors and Ccs’.

And if it is not possible, is creating a custom action derived from the
RT::Action::SendMail my only option?

Thank you for your answers.

Regards,
Martin

Mgr. Martin Drasar drasar@ics.muni.cz
CSIRT-MU, Network Security Department http://www.muni.cz/csirt
Institute of Computer Science, Masaryk University, Brno, Czech Republic
PGP Key ID: 0x944BC925

Hi,

In theory it’s possible to set content type to multipart/mixed and generate
text and attachment parts inside, but never tried that.

Subclassing action is a proper way.

Regards, Ruslan. From phone.2010 11 2 18:09 пользователь “Martin Drasar” drasar@ics.muni.cz написал:

Hi everyone,

is it somehow possible to create a text attachment from inside the
template? I would like to have some within the ‘On Correspond Notify
Requestors and Ccs’.

And if it is not possible, is creating a custom action derived from the
RT::Action::SendMail my only option?

Thank you for your answers.

Regards,
Martin


Mgr. Martin Drasar drasar@ics.muni.cz
CSIRT-MU, Network Security Department http://www.muni.cz/csirt
Institute of Computer Science, Masaryk University, Brno, Czech Republic
PGP Key ID: 0x944BC925