Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

114
Views
How to make a line break in Email?

So I have been making an email sender with this code:

                var link = "mailto:example@gmailcom"
                + "?cc=myCC@gmail.com"
                + "&subject=" + encodeURIComponent("Order")
                + "&body=" + encodeURIComponent("Some random send string <br>Some more send string")
                ;

            window.location.href = link;

However, the
tag does not work. Does anyone know how to make a line break?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Because you are encoding the break tag:

encodeURIComponent("Some random send string <br>Some more send string")
// 'Some%20random%20send%20string%20%3Cbr%3ESome%20more%20send%20string'
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!