Twister
07-09-2003, 07:30 PM
I am in the process of completeing my javascript e-mail generator. One last part that I need it to include is a from address in the e-mail so that any return e-mails are returned to a certain location. Here is the code I used so far:
<form>
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">button
<INPUT TYPE="button" VALUE="Generate E-Mail"
onClick="parent.location='mailto:test@test.com?subject=Test E-mail&from=testhelp@test.com&cc=anothertest@test.com&body=test.%0d%0aTest1 :%0d%0aTest2 :%0d%0aTest3 :%0d%0aTest4 :%0d%0aTest5'">
</FORM>
I thought that the from portion would work. It makes the from box on the e-mail but then does not populate the value that it is equal to. Can some one help.
<form>
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">button
<INPUT TYPE="button" VALUE="Generate E-Mail"
onClick="parent.location='mailto:test@test.com?subject=Test E-mail&from=testhelp@test.com&cc=anothertest@test.com&body=test.%0d%0aTest1 :%0d%0aTest2 :%0d%0aTest3 :%0d%0aTest4 :%0d%0aTest5'">
</FORM>
I thought that the from portion would work. It makes the from box on the e-mail but then does not populate the value that it is equal to. Can some one help.