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

null
    • warmandco
    • 5 yrs ago
    • Reported - view

    its on local mac.

    • Emanuel_Neubert
    • 5 yrs ago
    • Reported - view

    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