ABinBoston
Programmer
I use the function below to open Outlook and populate the Outlook form with a subject, to and the body. I'd like to combine several form elements in the body.. such as
date
time
issue
assigned by and others with a new line for each field.
I have tried many combinations in ordr to combine the text with no luck.
any help is appreciated
AB
<script>
function sendmail()
{
x_Subject =document.emailform.subject.value;
x_Body =document.emailform.body.value;
x_Assignee = document.emailform.email.value;
self.location="mailto:" + document.emailform.email.value + "?subject="+x_Subject+"&body="+x_Body;
}
</script>
date
time
issue
assigned by and others with a new line for each field.
I have tried many combinations in ordr to combine the text with no luck.
any help is appreciated
AB
<script>
function sendmail()
{
x_Subject =document.emailform.subject.value;
x_Body =document.emailform.body.value;
x_Assignee = document.emailform.email.value;
self.location="mailto:" + document.emailform.email.value + "?subject="+x_Subject+"&body="+x_Body;
}
</script>