0
Send Email on Click Error
Hello, It's a few days that a very simple click to send email function gives me a "Invalid parameter: html ("undefined")" error.
let myEmail := "11111111@gmail.com";
importFile(this, printAndSaveRecord(this, "RECEIPT"), "RECEIPT2.pdf");
sendEmail({
from: myEmail,
to: "11111111111@lon1.printnode.com",
subject: "PRINT",
text: "PRINT",
attachments: file(this, "RECEIPT2.pdf")
});
let r := closeRecord();
r
Any ideas on why this is happening??
Thanks!
2 replies
-
The "html" parameter is no longer optional and must be specified. Then the problem is solved.
Just insert it like this and it will work again:
html:"",
Content aside
- 6 mths agoLast active
- 2Replies
- 72Views
-
3
Following