I'm setting the body of an email using values from a form
firstname = bob
lastname = dole
ebody = 'First Name: ' + firstname + '
' + 'Last Name: ' + lastname
window.location.href = 'mailto:[email protected]?subject=test
email&body=' + ebody;
If I do an "alert(ebody);" I get the linebreak between firstname & lastname, however when it opens up outlook, the entire ebody string appears without a linebreak in the email body.
I've tried just also. is there something that can give be a line break?
Thanks in advance
See Question&Answers more detail:os