
torsten.brumm at Kuehne-Nagel
Nov 20, 2009, 3:28 AM
Post #2 of 4
(584 views)
Permalink
|
|
Re: How to add attachments (not links) with a template to an outgoing mail?
[In reply to]
|
|
Hi Tom, thanks for the hint. in the mean time we found a easy way to do this ;-) Torsten Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne -----Urspruengliche Nachricht----- Von: Tom Lahti [mailto:toml [at] bitstatement] Gesendet: Donnerstag, 19. November 2009 22:43 An: Brumm, Torsten / Kuehne + Nagel / Ham MI-ID Cc: rt-users [at] lists Betreff: Re: [rt-users] How to add attachments (not links) with a template to an outgoing mail? Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: > Hi, i followed the the instructions from wiki to add all attachments > from a ticket (during the whole livetime) as links to the outgoing > mail. No i need to attache all the attachements to the outgoing mail, > but i can't find anything useful at the wiki for this. > > Any suggestions? As far as I know, you'd have to write a custom email template that fetches the attachment contents through the perl API and builds a MIME-encapsulated message body. Of course it has to execute fully before the resulting page will display, which might take awhile. Since I've forgotten most of my perl at this point, and I'd want the page to display quicker, personally I would probably build myself a custom REST service and have the perl template call that and supply some parameters. But that's just me. -- -- Tom Lahti, SCMDBA, LPIC-1 BIT LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales [at] bestpractical Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
|