on 08-20-2014 5:43 AM
Hello,
We have a requirement to send a report (jobs run status) via mail that are executed in CPS.
I have configured this way...
job chain
step1 : call the report to collect the jobs status in "report.html" file
step 2: job System_Mail_Send that sends the report generated by the first step 1
RelativeJob: Step 1, Job 1
Jobfile : report.html
now the issue is that, I am getting the "repot.html" as a mail attachment. I have a requirement to collect this repot.html data in mail itself( not as attachment), how to achieve this?
Regards
Shridhar Gowda
Hi Shridhar Gowda,
You need to create a Mail type job definition and use the following syntax:
${inline_html}
[Attachments]
inline_html=Step 1, Job 1:report.html
So, you create a job definition of type mail, with the above source, and you specify the adressee in the Mail_To parameter. Optionally, you can set a subject.
Regards,
HP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.