0
Add printPdf
How to add printPdf file in mail, like filemaker. When press on mail button popup mail with name, subject cet. But how add printPdf invioce in mail.
2 replies
-
its on local mac.
-
Hi,
sending mails from Ninox just works in Ninox Cloud or Ninox Private Cloud. You can print any record into a pdf and send it by email. The syntax is like this:
let myTempPdf := printAndSaveRecord(this, "Invoice");
importFile(this, myTempPdf, "Filename");
let myEmail := userEmail(user());
let myHtml := "Invoice";
let myMails := [text(Kunde.Email), "support@ninoxdb.de"];
sendEmail({
from: myEmail,
to: myMails,
subject: Subject,
text: text(myHtml),
html: myHtml,
attachments: file(this, myFileName)
})
Content aside
- 5 yrs agoLast active
- 2Replies
- 1403Views