0

Line breaks in emails

Is ther a way to insert line breaks into emails? My current script is (thank you Steven!):

let sender := userEmail();

let BCCrec := userEmail();

let receiver := Employee.Email;

let subj := "My subject";

let body := “This is where I would like multiple line with line breaks. Line 1. Line 2.  And line 3.”;

let att1 := 'myatt1';

let att2 := 'myatt2';

sendEmail({

from: sender,

to: receiver,

bcc: BCCrec,

subject: subj,

text: body,

attachments: [att1, att2]

})

I tried a rich field text as body, but the html tags showed in the email. 

1 reply

null
    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs ago
    • Reported - view

    I think you can use this at the end for example:

    text: "",
    html: "<h2> " + body + "</h2><br><br><i>I guess this shows the idea!!</i>",
    attachments: [att1, att2]
    })

    Steven

Content aside

  • 3 yrs agoLast active
  • 1Replies
  • 499Views