Sending a canvas report via email

Sending a canvas report via email

Hi,

I have created a report layout using canvas and now I would like to send it via email as it can be done using a template. My working method so far is:

sendmail
[
from :gw@gmail.com
to :mw@gmail.com
subject :"Sample invoicel: " + input.CzeUzyNum
message :" print it "
Attachments :template:Invoice:Doc  DocID as PDF
]

The current method does not allow sending a report created in Canvas. Please help