Hi Isomorphic,
is there some way in 6.1p (12.0 would also be OK, I guess) to only use the mail-tag in a operationBinding as it is for html-template Velocity-evaluation and mail generation, but not actually send the mail and instead get it from the DSReponse for further processing?
I'd like to further process it myself (perhaps only get the mail-text and send it on a different way and/or attach files to the mail).
Another thing in this area: Is two-pass (or even more) Velocity possible?
For me, 1st pass would be to get language related pieces from the DB, 2nd pass would be to replace content here. This way it would be possible for the user to create their own templates or at least for me to have different templates (with different CI) for different tenants in the DB. This would not be possible with html-template files (my application is the same on the filesystem level for every tenant).
IMHO, feeding the mail to Velocity, until there are no changes between input and output (because there are no velocity tags anymore) shouldn't be a problem? If it is a problem, perhaps a backward-compatible way would be to enhance templateFile by a passes-attribute?
Best regards
Blama
is there some way in 6.1p (12.0 would also be OK, I guess) to only use the mail-tag in a operationBinding as it is for html-template Velocity-evaluation and mail generation, but not actually send the mail and instead get it from the DSReponse for further processing?
I'd like to further process it myself (perhaps only get the mail-text and send it on a different way and/or attach files to the mail).
Another thing in this area: Is two-pass (or even more) Velocity possible?
For me, 1st pass would be to get language related pieces from the DB, 2nd pass would be to replace content here. This way it would be possible for the user to create their own templates or at least for me to have different templates (with different CI) for different tenants in the DB. This would not be possible with html-template files (my application is the same on the filesystem level for every tenant).
IMHO, feeding the mail to Velocity, until there are no changes between input and output (because there are no velocity tags anymore) shouldn't be a problem? If it is a problem, perhaps a backward-compatible way would be to enhance templateFile by a passes-attribute?
Best regards
Blama
Comment