bb2000
asked on
Create Email from JavaScript
Hi,
I have created a form which user enters in name, email, phone number and I want the details to get emailed to me when they click submit. I want the contents of the input boxes to appear in the email formatted as I would like them so that they can add additional information to the email is they wish. How is this possible - at the moment when they click submit to open up an email address to me but the message is blank.
I have created a form which user enters in name, email, phone number and I want the details to get emailed to me when they click submit. I want the contents of the input boxes to appear in the email formatted as I would like them so that they can add additional information to the email is they wish. How is this possible - at the moment when they click submit to open up an email address to me but the message is blank.
What code do you have at the moment?
ASKER
<FORM ENCTYPE="text/plain" NAME="Conflict" METHOD='POST'
ACTION='mailto:test@test.c om' onSubmit="return submitForm()">
I need to know how to add the contents of the input boxes into the message section of the email
ACTION='mailto:test@test.c
I need to know how to add the contents of the input boxes into the message section of the email
That SHOULD work I think!?
So what's happening? What's the submitForm() function doing?
So what's happening? What's the submitForm() function doing?
Only works if the mailclient is set up to handle it. Only client that works straight out of the box is netscape3 to 4.7
Michel
Michel
ASKER
It works fine I just want to know how to create a messaage part. I want the contents of the input boxes to apear in the message section
try this:
<body>
<form name=myForm>
<input type="text" name="f1" value="">
<input type="text" name="f2" value="">
</form>
<a href="#"
onClick="this.href='mailto :michel@ir t.org?subj ect=My%20S ubject&bod y='+
escape(document.myForm.f1. value)+'%0 A'+escape( document.m yForm.f1.v alue); return true">Mail</a>
</body>
<body>
<form name=myForm>
<input type="text" name="f1" value="">
<input type="text" name="f2" value="">
</form>
<a href="#"
onClick="this.href='mailto
escape(document.myForm.f1.
</body>
ASKER
is this possible in a function to create the message as i have about 10 input boxes and would like to format them neatly on the message. what does 'escape' refer to?
The escape is to convert all non a-z+&~0-9 to %xx type url encoded values.
<body>
<form name=myForm>
<input type="text" name="f1" value="">
<input type="text" name="f2" value="">
.
.
.
</form>
<a href="#"
onClick="loc='mailto:miche l@irt.org? subject=My %20Subject &body=';
for (i=0;i< document.myForm.elements.l ength;i++) {
if (document.myForm.elements[ i].type==' text')
loc += document.myForm.elements[i ].name+':' +
escape(document.myForm.ele ments[i].v alue)+'%0A ';
}
this.href=loc;
return true">Mail</a>
<body>
<form name=myForm>
<input type="text" name="f1" value="">
<input type="text" name="f2" value="">
.
.
.
</form>
<a href="#"
onClick="loc='mailto:miche
for (i=0;i< document.myForm.elements.l
if (document.myForm.elements[
loc += document.myForm.elements[i
escape(document.myForm.ele
}
this.href=loc;
return true">Mail</a>
or
<script>
function doMail() {
var loc='mailto:michel@irt.org ?subject=M y%20Subjec t&body=';
for (i=0;i< document.myForm.elements.l ength;i++) {
if (document.myForm.elements[ i].type==' text')
loc += document.myForm.elements[i ].name+':' +
escape(document.myForm.ele ments[i].v alue)+'%0A ';
}
return loc;
}
</script>
<a href="#"
onClick="this.href="doMail ();return true">Mail</a>
Michel
<script>
function doMail() {
var loc='mailto:michel@irt.org
for (i=0;i< document.myForm.elements.l
if (document.myForm.elements[
loc += document.myForm.elements[i
escape(document.myForm.ele
}
return loc;
}
</script>
<a href="#"
onClick="this.href="doMail
Michel
What you really need is mailform cgi on the server. This works exactly the way you want it to work and more, every time.
ASKER
can you explain how that works please and how to do it
The most used is Matt's Formmail:
http://worldwidemart.com/scripts/formmail.shtml
You need a cgi-bin directory - but most ISPs will have this script as canned script - ask them!
Michel
http://worldwidemart.com/scripts/formmail.shtml
You need a cgi-bin directory - but most ISPs will have this script as canned script - ask them!
Michel
ASKER
thanks but it doesn't really help as most of the links on that page appear to have expired. I'd prefer to use javascript if possible.
??? None of the links I clicked on were expired - including the download link...
You can use the script we have provided. If you want to make sure you get the data you need a script like Matt's
You can use the script we have provided. If you want to make sure you get the data you need a script like Matt's
ASKER
Using the following code I create an email from the contents of a form. However I need to have each line on the BODY formatted so that they print on individual lines. How is this possible - at the moment it creates the Body section in one long line and characters seem to get cut off after about 256. Any ideas
function getbody()
{
strMessage = "Conflict Posted By:" + document.emailForm.txt1.va lue
strMessage1 = "Matter Partner:" + document.emailForm.lstClie ntPart.val ue
strMessage2 = "Client: " + document.emailForm.txtClie nt.value
strMessage3 = "Industry Sector: " + document.emailForm.txtIndS ector.valu e
strMessage4 = "Client Connections: " + document.emailForm.txtClie ntConn.val ue
strMessage5 = "Adverse Party: " + document.emailForm.txtAdPa rty.value
strMessage6 = "Adverse Party Industry Sector: " + document.emailForm.txtAdPa rtyIS.valu e
strMessage7 = "Adverse Party Connections: " + document.emailForm.txtAdPa rtyConn.va lue
strMessage8 = "Brief description of matter: " + document.emailForm.txtBrie fDesc.valu e
strMessage9 = "Additional Information: " + document.emailForm.txtAddI nfo.value
strMessage10 = "Answer requested by: " + document.emailForm.lstAnsw er.value
strAll = strMessage + strMessage1 + strMessage2 + strMessage3 + strMessage4 + strMessage5 + strMessage6 + strMessage7 + strMessage8 + strMessage9 + strMessage10
}
function update(what) {
what.action = 'mailto:' + document.hiddenForm.emailA ddress.val ue +
'?SUBJECT=' + document.hiddenForm.subjec tLine.valu e +
'?BODY=' + strAll;
what.elements[' '].value += '\n\n';
}
function getbody()
{
strMessage = "Conflict Posted By:" + document.emailForm.txt1.va
strMessage1 = "Matter Partner:" + document.emailForm.lstClie
strMessage2 = "Client: " + document.emailForm.txtClie
strMessage3 = "Industry Sector: " + document.emailForm.txtIndS
strMessage4 = "Client Connections: " + document.emailForm.txtClie
strMessage5 = "Adverse Party: " + document.emailForm.txtAdPa
strMessage6 = "Adverse Party Industry Sector: " + document.emailForm.txtAdPa
strMessage7 = "Adverse Party Connections: " + document.emailForm.txtAdPa
strMessage8 = "Brief description of matter: " + document.emailForm.txtBrie
strMessage9 = "Additional Information: " + document.emailForm.txtAddI
strMessage10 = "Answer requested by: " + document.emailForm.lstAnsw
strAll = strMessage + strMessage1 + strMessage2 + strMessage3 + strMessage4 + strMessage5 + strMessage6 + strMessage7 + strMessage8 + strMessage9 + strMessage10
}
function update(what) {
what.action = 'mailto:' + document.hiddenForm.emailA
'?SUBJECT=' + document.hiddenForm.subjec
'?BODY=' + strAll;
what.elements[' '].value += '\n\n';
}
function getbody()
{
strMessage = "Conflict Posted By:" + document.emailForm.txt1.va lue
strMessage1 = "Matter Partner:" + document.emailForm.lstClie ntPart.val ue
strMessage2 = "Client: " + document.emailForm.txtClie nt.value
strMessage3 = "Industry Sector: " + document.emailForm.txtIndS ector.valu e
strMessage4 = "Client Connections: " + document.emailForm.txtClie ntConn.val ue
strMessage5 = "Adverse Party: " + document.emailForm.txtAdPa rty.value
strMessage6 = "Adverse Party Industry Sector: " + document.emailForm.txtAdPa rtyIS.valu e
strMessage7 = "Adverse Party Connections: " + document.emailForm.txtAdPa rtyConn.va lue
strMessage8 = "Brief description of matter: " + document.emailForm.txtBrie fDesc.valu e
strMessage9 = "Additional Information: " + document.emailForm.txtAddI nfo.value
strMessage10 = "Answer requested by: " + document.emailForm.lstAnsw er.value
strAll = strMessage + "%A" +
strMessage1 + "%A" +
strMessage2 + "%A" +
strMessage3 + "%A" +
strMessage4 + "%A" +
strMessage5 + "%A" +
strMessage6 + "%A" +
strMessage7 + "%A" +
strMessage8 + "%A" +
strMessage9 + "%A" +
strMessage10
}
and I woudl use
"Conflict Posted By:" + escape(document.emailForm. txt1.value )
Michel
{
strMessage = "Conflict Posted By:" + document.emailForm.txt1.va
strMessage1 = "Matter Partner:" + document.emailForm.lstClie
strMessage2 = "Client: " + document.emailForm.txtClie
strMessage3 = "Industry Sector: " + document.emailForm.txtIndS
strMessage4 = "Client Connections: " + document.emailForm.txtClie
strMessage5 = "Adverse Party: " + document.emailForm.txtAdPa
strMessage6 = "Adverse Party Industry Sector: " + document.emailForm.txtAdPa
strMessage7 = "Adverse Party Connections: " + document.emailForm.txtAdPa
strMessage8 = "Brief description of matter: " + document.emailForm.txtBrie
strMessage9 = "Additional Information: " + document.emailForm.txtAddI
strMessage10 = "Answer requested by: " + document.emailForm.lstAnsw
strAll = strMessage + "%A" +
strMessage1 + "%A" +
strMessage2 + "%A" +
strMessage3 + "%A" +
strMessage4 + "%A" +
strMessage5 + "%A" +
strMessage6 + "%A" +
strMessage7 + "%A" +
strMessage8 + "%A" +
strMessage9 + "%A" +
strMessage10
}
and I woudl use
"Conflict Posted By:" + escape(document.emailForm.
Michel
ANd the %A shoudl be %0A
sorry
Michel
sorry
Michel
ASKER
This does not work. I have tried exactly what you said but the message of the email is still one continuous string.
function update(what) {
what.action = 'mailto:' + document.hiddenForm.emailA ddress.val ue +
'?SUBJECT=' + document.hiddenForm.subjec tLine.valu e +
'?BODY=' + "Conflict Posted By:" + escape(document.emailForm. txt1.value ) + "%0A" + "Conflict Posted By:" + escape(document.emailForm. lstClientP art.value)
//what.elements[' '].value += '\n\n';
}
function update(what) {
what.action = 'mailto:' + document.hiddenForm.emailA
'?SUBJECT=' + document.hiddenForm.subjec
'?BODY=' + "Conflict Posted By:" + escape(document.emailForm.
//what.elements[' '].value += '\n\n';
}
Try
%0D%0A
Michel
%0D%0A
Michel
%0A works in messenger
Michel
Michel
ASKER
I am using MS Outlook 97 and editing the code using visual interdev. The new one you mention does not work either.
'?BODY=' + "Conflict Posted By:" + escape(document.emailForm. txt1.value ) + "%0D%0A" + "Conflict Posted By:" + escape(document.emailForm. txt1.value )
'?BODY=' + "Conflict Posted By:" + escape(document.emailForm.
Then I cannot help you...
Michel
Michel
ASKER
Copy and paste the script below into a notepad and save as HTM file and view to see what I mean.,
<script language="JavaScript">
<!--
function Reset() {
document.emailForm.PostedB y.value = "";
document.emailForm.txtClie nt.value = "";
document.emailForm.txtIndS ector.valu e = "";
document.emailForm.txtClie ntConn.val ue = "";
document.emailForm.txtAdPa rty.value = "";
document.emailForm.txtAdPa rtyIS.valu e = "";
document.emailForm.txtAdPa rtyConn.va lue = "";
document.emailForm.txtBrie fDesc.valu e = "";
document.emailForm.txtAddI nfo.value = "";
document.emailForm.lstAnsw er.value = "";
}
function getbody()
{
strMessage = "Conflict Posted By:" + escape(document.emailForm. txt1.value )
strMessage2 = "Client: " + escape(document.emailForm. txtClient. value)
strMessage3 = "Industry Sector: " + escape(document.emailForm. txtIndSect or.value)
strMessage4 = "Client Connections: " + escape(document.emailForm. txtClientC onn.value)
strMessage5 = "Adverse Party: " + escape(document.emailForm. txtAdParty .value)
strMessage6 = "Adverse Party Industry Sector: " + escape(document.emailForm. txtAdParty IS.value)
strMessage7 = "Adverse Party Connections: " + escape(document.emailForm. txtAdParty Conn.value )
strMessage8 = "Brief description of matter: " + escape(document.emailForm. txtBriefDe sc.value)
strMessage9 = "Additional Information: " + escape(document.emailForm. txtAddInfo .value)
strMessage10 = "Answer requested by: " + escape(document.emailForm. lstAnswer. value)
strAll = strMessage + "%0A" + strMessage2 + strMessage3 + strMessage4 + strMessage5 + strMessage6 + strMessage7 + strMessage8 + strMessage9 + strMessage10
}
function update(what) {
what.action = 'mailto:' + document.hiddenForm.emailA ddress.val ue +
'?SUBJECT=' + document.hiddenForm.subjec tLine.valu e +
'?BODY=' + "Conflict Posted By:" + escape(document.emailForm. txt1.value ) + "%0D%0A" + "Conflict Posted By:" + escape(document.emailForm. txt1.value )
//what.elements[' '].value += '\n\n';
}
var bV=parseInt(navigator.appV ersion);
if (bV>=4)
{
document.write('<style>');
document.write(' b.gray {color:003366}');
document.write(' b.darkslategray {color:darkslategray}');
document.write(' font.grayback {background:dddddd}');
document.write(' td {font-family:verdana;font- size:11.5p x; color:darkslategray}');
document.write(' td.bigger {font-family:verdana;font- size:12.5p x; color:333333}');
document.write(' td.list {font-family:verdana;font- size:11.5p x; color:333333}');
document.write(' td.header {font-family:verdana;font- size:12.5p x; color:white;background:663 300}');
document.write(' td.descriptor {font-family:arial; font-size:12px; color:000033}');
document.write(' td.footer {font-family:arial; font-size:11px; color:336666}');
document.write(' td.ct {font-family:verdana;font- size:10.5p x; color:333333}');
document.write(' span {font-family:verdana; font-size:11.5px; color:003333}');
document.write(' pre {font-family:verdana; font-size:11px; COLOR:green; text-decoration: none;}');
document.write(' span.projectlinksec {color:336666}');
document.write(' span.dark {color:330000;font-size:13 px}');
document.write(' span.grayedlink {color:slategray}');
document.write(' span.datestamp {font-family:arial; font-size:10px; color:gray}');
document.write(' span.clock {font-family:verdana; font-size:10.5px; color:333333}');
document.write(' a {font-family:verdana; font-size:11px; COLOR:navy; text-decoration: none;}');
document.write(' menubar a {font-family:verdana; font-size:11px; COLOR:navy; text-decoration: none;}');
document.write(' menubar a:hover {COLOR:#ffffff; TEXT-DECORATION: none;}');
document.write(' .divnav a {font-family:verdana; font-size:11px; COLOR:navy; text-decoration: none;}');
document.write(' .divnav a:hover {font-family:verdana; font-size:11px; COLOR:navy; text-decoration: underline;}');
document.write(' a.under {font-family:verdana; font-size:11.5px; COLOR:006666; text-decoration: underline;}');
document.write(' a.grayed {font-family:verdana; font-size:12px; COLOR:999999; text-decoration: none;}');
document.write(' a:hover {COLOR:#990033; TEXT-DECORATION: none;}');
document.write(' a.grayed:hover {COLOR: 999999; TEXT-DECORATION: none;}');
document.write(' a:active {COLOR: 990033; TEXT-DECORATION: none;}');
document.write(' a.grayed:active {COLOR: 999999; TEXT-DECORATION: none;}');
document.write(' option {font-family:verdana; font-size:12px; background-color:ffffee}') ;
document.write(' input.button {font-family:verdana; width:50; font-size:11px; cursor:hand}');
document.write(' select {font-family:verdana; width:415; font-size:12px;}');
document.write(' input {font-family:verdana; width:415; font-size:12px;}');
document.write(' textarea {font-family:verdana; width:415; font-size:12px;}');
document.write('</style>') ;
}
//-->
//--></script>
<form name="hiddenForm" onSubmit="return false">
<input type="hidden" name="emailAddress" value="bcc">
<input type="hidden" name="subjectLine" value="Conflict Check">
</form>
<form name="emailForm" method="post" enctype="text/plain">
<TABLE>
<tr>
<td width="30"> </td>
<td colspan="2">
<b class="darkslategray">Conf lict Checking</b>
</td>
</tr>
<tr>
<td width="30"> </td>
<td colspan="2">
</td>
</tr>
<tr>
<td width="30"> </td>
<td colspan="2">
<hr>
</td>
</tr>
<TR>
<td width="30"> </td>
<td align="right">Conflict check posted by:</td>
<td><INPUT name="txt1" rows="1" cols="20" onchange=getbody()></INPUT ></TD>
</TR>
<TR>
<td width="30"> </td>
<td align="right">Client:</td>
<td><INPUT name="txtClient" rows="1" cols="20" onchange=getbody()></INPUT ></TD>
</TR>
<TR>
<td width="30"> </td>
<td align="right">Industry Sector:</td>
<td><INPUT name="txtIndSector" rows="1" cols="20" onchange=getbody()></INPUT ></TD>
</TR>
<TR>
<td width="30"> </td>
<td align="right">Client Connections:</td>
<td><INPUT name="txtClientConn" rows="1" cols="20" onchange=getbody()></INPUT ></TD>
</TR>
<TR>
<td width="30"> </td>
<td align="right">Adverse Party:</td>
<td><INPUT name="txtAdParty" rows="1" cols="20" onchange=getbody()></INPUT ></TD>
</TR>
<TR>
<td width="30"> </td>
<td align="right">Adverse Party Industry Sector:</td>
<td><INPUT name="txtAdPartyIS" rows="1" cols="20" onchange=getbody()></INPUT ></TD>
</TR>
<TR>
<td width="30"> </td>
<td align="right">Adverse Party Connections:</td>
<td><INPUT name="txtAdPartyConn" rows="1" cols="20" onchange=getbody()></INPUT ></TD>
</TR>
<TR>
<td width="30"> </td>
<td align="right">Brief description of matter:</td>
<td><textarea name="txtBriefDesc" rows="3" cols="15" onchange=getbody()></texta rea></TD>
</TR>
<TR>
<td width="30"> </td>
<td align="right">Additional Information:</td>
<td><textarea name="txtAddInfo" rows="3" cols="20" onchange=getbody()></texta rea></TD>
</TR>
<tr>
<td width="30"> </td>
<td align="right">Answer requested by:</td>
<td>
<select name="lstAnswer" onChange=getbody()>
<option value>Close of business today</option>
<option value>Close of business tomorrow</option>
<option value>ASAP</option>
<option value>End of this week</option>
<option value>End of this month</option>
</select>
</td>
</tr>
<tr>
<td width="30"> </td>
<td colspan="2">
<input type="submit" onClick=update(this.form) id=submit1 name=submit1>
</td>
</tr>
<tr>
<td width="30"> </td>
<td colspan="2">
<input type="reset" onClick="reset" id=reset1 name=reset1>
</td>
</tr>
</TABLE>
<input type="hidden" name="Internet Related Technologies - <URL" value="http://www.irt.org/>">
</form>
<script language="JavaScript">
<!--
function Reset() {
document.emailForm.PostedB
document.emailForm.txtClie
document.emailForm.txtIndS
document.emailForm.txtClie
document.emailForm.txtAdPa
document.emailForm.txtAdPa
document.emailForm.txtAdPa
document.emailForm.txtBrie
document.emailForm.txtAddI
document.emailForm.lstAnsw
}
function getbody()
{
strMessage = "Conflict Posted By:" + escape(document.emailForm.
strMessage2 = "Client: " + escape(document.emailForm.
strMessage3 = "Industry Sector: " + escape(document.emailForm.
strMessage4 = "Client Connections: " + escape(document.emailForm.
strMessage5 = "Adverse Party: " + escape(document.emailForm.
strMessage6 = "Adverse Party Industry Sector: " + escape(document.emailForm.
strMessage7 = "Adverse Party Connections: " + escape(document.emailForm.
strMessage8 = "Brief description of matter: " + escape(document.emailForm.
strMessage9 = "Additional Information: " + escape(document.emailForm.
strMessage10 = "Answer requested by: " + escape(document.emailForm.
strAll = strMessage + "%0A" + strMessage2 + strMessage3 + strMessage4 + strMessage5 + strMessage6 + strMessage7 + strMessage8 + strMessage9 + strMessage10
}
function update(what) {
what.action = 'mailto:' + document.hiddenForm.emailA
'?SUBJECT=' + document.hiddenForm.subjec
'?BODY=' + "Conflict Posted By:" + escape(document.emailForm.
//what.elements[' '].value += '\n\n';
}
var bV=parseInt(navigator.appV
if (bV>=4)
{
document.write('<style>');
document.write(' b.gray {color:003366}');
document.write(' b.darkslategray {color:darkslategray}');
document.write(' font.grayback {background:dddddd}');
document.write(' td {font-family:verdana;font-
document.write(' td.bigger {font-family:verdana;font-
document.write(' td.list {font-family:verdana;font-
document.write(' td.header {font-family:verdana;font-
document.write(' td.descriptor {font-family:arial; font-size:12px; color:000033}');
document.write(' td.footer {font-family:arial; font-size:11px; color:336666}');
document.write(' td.ct {font-family:verdana;font-
document.write(' span {font-family:verdana; font-size:11.5px; color:003333}');
document.write(' pre {font-family:verdana; font-size:11px; COLOR:green; text-decoration: none;}');
document.write(' span.projectlinksec {color:336666}');
document.write(' span.dark {color:330000;font-size:13
document.write(' span.grayedlink {color:slategray}');
document.write(' span.datestamp {font-family:arial; font-size:10px; color:gray}');
document.write(' span.clock {font-family:verdana; font-size:10.5px; color:333333}');
document.write(' a {font-family:verdana; font-size:11px; COLOR:navy; text-decoration: none;}');
document.write(' menubar a {font-family:verdana; font-size:11px; COLOR:navy; text-decoration: none;}');
document.write(' menubar a:hover {COLOR:#ffffff; TEXT-DECORATION: none;}');
document.write(' .divnav a {font-family:verdana; font-size:11px; COLOR:navy; text-decoration: none;}');
document.write(' .divnav a:hover {font-family:verdana; font-size:11px; COLOR:navy; text-decoration: underline;}');
document.write(' a.under {font-family:verdana; font-size:11.5px; COLOR:006666; text-decoration: underline;}');
document.write(' a.grayed {font-family:verdana; font-size:12px; COLOR:999999; text-decoration: none;}');
document.write(' a:hover {COLOR:#990033; TEXT-DECORATION: none;}');
document.write(' a.grayed:hover {COLOR: 999999; TEXT-DECORATION: none;}');
document.write(' a:active {COLOR: 990033; TEXT-DECORATION: none;}');
document.write(' a.grayed:active {COLOR: 999999; TEXT-DECORATION: none;}');
document.write(' option {font-family:verdana; font-size:12px; background-color:ffffee}')
document.write(' input.button {font-family:verdana; width:50; font-size:11px; cursor:hand}');
document.write(' select {font-family:verdana; width:415; font-size:12px;}');
document.write(' input {font-family:verdana; width:415; font-size:12px;}');
document.write(' textarea {font-family:verdana; width:415; font-size:12px;}');
document.write('</style>')
}
//-->
//--></script>
<form name="hiddenForm" onSubmit="return false">
<input type="hidden" name="emailAddress" value="bcc">
<input type="hidden" name="subjectLine" value="Conflict Check">
</form>
<form name="emailForm" method="post" enctype="text/plain">
<TABLE>
<tr>
<td width="30"> </td>
<td colspan="2">
<b class="darkslategray">Conf
</td>
</tr>
<tr>
<td width="30"> </td>
<td colspan="2">
</td>
</tr>
<tr>
<td width="30"> </td>
<td colspan="2">
<hr>
</td>
</tr>
<TR>
<td width="30"> </td>
<td align="right">Conflict check posted by:</td>
<td><INPUT name="txt1" rows="1" cols="20" onchange=getbody()></INPUT
</TR>
<TR>
<td width="30"> </td>
<td align="right">Client:</td>
<td><INPUT name="txtClient" rows="1" cols="20" onchange=getbody()></INPUT
</TR>
<TR>
<td width="30"> </td>
<td align="right">Industry Sector:</td>
<td><INPUT name="txtIndSector" rows="1" cols="20" onchange=getbody()></INPUT
</TR>
<TR>
<td width="30"> </td>
<td align="right">Client Connections:</td>
<td><INPUT name="txtClientConn" rows="1" cols="20" onchange=getbody()></INPUT
</TR>
<TR>
<td width="30"> </td>
<td align="right">Adverse Party:</td>
<td><INPUT name="txtAdParty" rows="1" cols="20" onchange=getbody()></INPUT
</TR>
<TR>
<td width="30"> </td>
<td align="right">Adverse Party Industry Sector:</td>
<td><INPUT name="txtAdPartyIS" rows="1" cols="20" onchange=getbody()></INPUT
</TR>
<TR>
<td width="30"> </td>
<td align="right">Adverse Party Connections:</td>
<td><INPUT name="txtAdPartyConn" rows="1" cols="20" onchange=getbody()></INPUT
</TR>
<TR>
<td width="30"> </td>
<td align="right">Brief description of matter:</td>
<td><textarea name="txtBriefDesc" rows="3" cols="15" onchange=getbody()></texta
</TR>
<TR>
<td width="30"> </td>
<td align="right">Additional Information:</td>
<td><textarea name="txtAddInfo" rows="3" cols="20" onchange=getbody()></texta
</TR>
<tr>
<td width="30"> </td>
<td align="right">Answer requested by:</td>
<td>
<select name="lstAnswer" onChange=getbody()>
<option value>Close of business today</option>
<option value>Close of business tomorrow</option>
<option value>ASAP</option>
<option value>End of this week</option>
<option value>End of this month</option>
</select>
</td>
</tr>
<tr>
<td width="30"> </td>
<td colspan="2">
<input type="submit" onClick=update(this.form) id=submit1 name=submit1>
</td>
</tr>
<tr>
<td width="30"> </td>
<td colspan="2">
<input type="reset" onClick="reset" id=reset1 name=reset1>
</td>
</tr>
</TABLE>
<input type="hidden" name="Internet Related Technologies - <URL" value="http://www.irt.org/>">
</form>
This is what I get
Subject:
Conflict Check?BODY=Conflict Posted By:Poster%0D%0AConflict Posted
By:Poster
Date:
Tue, 19 Jun 2001 17:47:02 +0200
From:
myemail@myserver.org
Organization:
myorg
To:
adressant@somewhere.com
txt1=Poster
txtClient=Client name
txtIndSector=sector 53
txtClientConn=none
txtAdParty=I hate you
txtAdPartyIS=
txtAdPartyConn=
txtBriefDesc=
txtAddInfo=
lstAnswer=Close of business today
submit1=Submit Query
Internet Related Technologies - <URL=http://www.irt.org
Subject:
Conflict Check?BODY=Conflict Posted By:Poster%0D%0AConflict Posted
By:Poster
Date:
Tue, 19 Jun 2001 17:47:02 +0200
From:
myemail@myserver.org
Organization:
myorg
To:
adressant@somewhere.com
txt1=Poster
txtClient=Client name
txtIndSector=sector 53
txtClientConn=none
txtAdParty=I hate you
txtAdPartyIS=
txtAdPartyConn=
txtBriefDesc=
txtAddInfo=
lstAnswer=Close of business today
submit1=Submit Query
Internet Related Technologies - <URL=http://www.irt.org
ASKER
When I use fill in the details I get the email and the subject filled in. The body section contains
Conflict Posted By:PosterConflict Posted by:Poster
What email system are you using as I am using outlook 97.
Conflict Posted By:PosterConflict Posted by:Poster
What email system are you using as I am using outlook 97.
Netscape Messenger - as I told you would work :}
ASKER
Well that's all very well but I'm using outlook so how do I get that to work.
Thanks anyway
Thanks anyway
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok - I'll start again and try that - thanks
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
In the absence of responses, I may recommend DELETE unless it is clear
to me that it has value as a PAQ. Silence = you don't care
</note>
Cd&
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
In the absence of responses, I may recommend DELETE unless it is clear
to me that it has value as a PAQ. Silence = you don't care
</note>
Cd&
Me for effort
It is time to clean this abandoned question up.
I am putting it on a clean up list for CS.
<recommendation>
points to mplungjan
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
I am putting it on a clean up list for CS.
<recommendation>
points to mplungjan
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
Comment from expert accepted a answer
Computer101
E-E Admin
Computer101
E-E Admin