Report by email with whole report as body and attached file
537437Oct 4 2006 — edited Oct 5 2006Hello,
I try to send my Reports by mail and have to attach a file to the report.
But this filename is't a static one. Is there a work-around to attach a dynamic file to my e-mail.
Here is a part of my destination.xml file:
<foreach>
<mail id="DEST1" to="&<address>" subject="&<subject>">
<body srcType="report" format="html">
<include src="mainSection"/>
</body>
<attach srcType="file">
<include src="/coup_cache/&<filename>"/>
</attach>
</mail>
</foreach>