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?
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.
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.