I want to send email with a body consisting of multiple lines. I am using REST Post requests.

I tried adding "\n", adding "\r\n", using encodeURIComponent() method as well. But neither works.

Is there any headers or anything that I want to use?

I have searched all over the internet but couldn't find an answer.


It depends on where the email is displayed. Most are Browser based so require a <BR>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.