I have MIME::Lite::TT email template containing:
[% PROCESS header %] Hello Some Name You have another Some Company booking - [% Subject %] Voucher Registration ! [% PROCESS profile -%] [% PROCESS voucher -%] [% PROCESS event -%] [% PROCESS terms %] [% PROCESS provider %] .... which parses and displays everything fine except for the 'PROCESS voucher' line. The 'voucher' library item is in the same directory as the other library files - profile, event, terms & provider - but 'voucher' is left out for some reason. 'voucher' contains 2 lines: Voucher Number: [% VoucherNum %] Voucher Expiry Date: [% VoucherExp %] If I paste the contenst of 'voucher' directly into the template thus: % PROCESS header %] Hello Some Name You have another Some Company booking - [% Subject %] Voucher Registration ! [% PROCESS profile -%] Voucher Number: [% VoucherNum %] Voucher Expiry Date: [% VoucherExp %] [% PROCESS event -%] [% PROCESS terms %] [% PROCESS provider %] .... all is well so there's some weird parsing problem here which I can't fathom. gunzip _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
