How can I format body content sent through ninon
Hello, I used the following code in a button to send an email with an attached printelayout file on pdf.
let me := this;
let Bijlagen := null;
let myLayout := "LENTES OSS";
let myNumber := cnt(files(me)) + 1;
let nombreFile := "Receta Oftalmológica - " + Nombre + " " + 'Apellido 1' + " " + 'Apellido 2' + ".pdf";
let nombrePac := "Receta Oftalmológica - " + Nombre + " " + 'Apellido 1' + " " + 'Apellido 2';
importFile(me, printAndSaveRecord(this, myLayout), nombreFile);
Bijlagen := file(me, nombreFile);
let contenido := "<h1>Junto con saludar, adjunto Receta Oftalmológica emitida en consulta.</h1>";
sendEmail({
from: userEmail(user()),
to: 'Email Pac',
cc: "ossandon@telerop.net",
subject: nombrePac,
text: text(me.contenido),
html: me.contenido,
attachments: Bijlagen
})
It works, but the email body content has a very large letter font. Also, it doesn't include my regular footer information I have when I send emails through gmail platform.
How can reduce size and format font size on the email body
How can I add my footer information which includes a picture of me.
Reply
Content aside
- 4 yrs agoLast active
- 297Views