Zoho creator send the generated pdf from zoho creator pages via sendmail

Zoho creator send the generated pdf from zoho creator pages via sendmail

Hello,

I want to send one form report as pdf via sendmail function.
The problem is that this pdf I want to generate using the export and pages template from zoho creator


quontation_view is the HTML template by creator pages  that become the ID as paramenter for one Form_Report and generate the pdf page for this ID.

But I dont undestand how to attach this pdf automatically as Attachments into the sendmail ? 
is it possible to retrive this pdf as file using the  invokeurl? 
  1. void send.mail(Quote1 qt_obj)
    {
    urlstr = "https://app.zohocreator.com/export/.../.../pdf/quontation_view?qt_id_str=" + qt_obj.ID + "&isc5page=true";
    fileResp = invokeurl
    [
    url :urlstr
    type :GET
    ];
    sendmail
    [
    from :zoho.loginuserid
    to :"emal@email.com"
    subject :"This is a Quatation"
    message :"Kindly View the below attachment"
    Attachments :file:fileResp
    ]

    }
The above function does not work and get the exception by executing.