0
Can I attach invoice to email and send via a trigger from the email icon
I have created an invoce sheet and want to be able to emailthe invoice directly to the customer via the email icon.
can this be scripted to act as a trigger in the invoice sheet?
2 replies
-
Attach script to a "Email Invoice" button:
let myinvoice := importFile(this, printAndSaveRecord(this, "Name of invoice layout"), "mypdf.pdf");sendEmail({from: text(userEmail()),to: text('IssueEmailto'),subject: "Hello World!",text: "Some text",html: "<h1>Some Text</h1><i>With Markup</i>",attachments :myinvoice}) -
Thanks Dean,
Very useful! I'm just starting with Ninox! is great.
I have been able to customize the Subject adding the order number, but how do I incorporate the fields on the HTML part?
What is the sintax?
Thanks!
Content aside
- 5 yrs agoLast active
- 2Replies
- 1170Views
