The customer has a large report that he needs to attach to an Automation Policy email. How can he accomplish this?
ITMS 8.x
Starting with IT Management Suite 7.6 release, you can add an attachment to the Automation Policy e-mail. Note that no UI changes are introduced and it is just a way to define attachment in the existing UI.
You can use this option for Send automated report e-mail task, Send automation policy e-mail task, etc.
To add an attachment to an e-mail, you must add some "markup" tokens to define the attachments and the body in the email body definition as follows:
<!-- SMP:[type];[name;mime] -->
[name] - the name of the attachment or file
[mime] - one of the encoding types "text/plain", "text/html" etc. If not specified, default is used or resolved by file type automatically.
EXAMPLE 1: to attach a report
<!-- SMP:A;report.htm --> <html><body>%!Results!%</body></html> <!-- SMP:B --> <html><body>Please check attachment</html></body>
NB! The marker start should only have one (1) space between "<!--" and "SMP:" to match.
EXAMPLE 2: to attach a particular file by path, used 'F'
<!-- SMP:F;C:eport1.htm -->
or 'A' with '@' before file name
<!-- SMP:A;@C:eport1.htm -->
EXAMPLE 3: to attach a ZIP document
<!-- SMP:ZA;report.html.zip -->
This content of the section will be zipped.
<!-- SMP:ZF;symantec-logs.zip;;c:\ProgramData\Symantec\SMP\Logs*.log -->
All .log files from the default folder will be zipped and added to the attachment as a single file.