Javascript newline not working when sending to outlook
<p>I have this little problem.
I have this javascript in my html page:</p>

<pre><code>function myfunction(form)
            {
                var name = document.details.txtName.value + "\n";
                var street = document.details.txtStreet.value + "\n";
                var city = document.details.txtCity.value + "\n";
                var stateProvince = document.details.txtStateProvince.value + "\n";
                var postalCode = document.details.txtPostalCode.value + "\n";
                var country = document.details.txtCountry.value + "\n";
                var homeTel = document.details.txtHomeTel.value + "\n";
                var workTel = document.details.txtWorkTel.value + "\n";
                var fax = document.details.txtFax.value + "\n";
                var mobile = document.details.txtMobile.value + "\n";
                var email = document.details.txtEmail.value + "\n";
                var enquiry = document.details.txtEnquiry.value + "\n";

                var message = (name +
                               street + 
                               city + 
                               stateProvince + 
                               postalCode + 
                               country + 
                               homeTel + 
                               workTel + 
                               fax + 
                               mobile + 
                               email +
                               enquiry);
                alert(message);
                location='mailto:somecrazyassemail@gmail.com?subject=Message From Redec Website&amp;body=' + message;
                return false; //So that the page can stay at its current location.
</code></pre>

<p>In the messagebox that pops up, it displays the strings underneath each other, which I want.</p>

<p>but when this opens outlook it is all in one long string. how can I fix this?
                }</p>
