Author: Real Gagnon
Author's WebSite: http://tactika.com/realhome/realhome.html
Works with Netscape. The important thing is to NAME all the INPUT. The browser will prompt the user that an email is about to be sent.
<FORM METHOD=POST
ACTION="mailto:someone@somewhere.com"
ENCTYPE="text/plain">
<INPUT TYPE="hidden" VALUE="1234" name="score">
<INPUT TYPE="hidden" VALUE="Mr. Smith" name="player">
<INPUT TYPE="submit" VALUE="Submit">
</FORM>
To set the subject :
ACTION="mailto:someone@somewhere.com?subject=automatic_email"
To send a Carbon Copy of the message to a second person, use the "cc" parameter :
<FORM METHOD=POST
ACTION="mailto:someone@somewhere.com?subject=important&cc=someoneelse@somewhere.com"
ENCTYPE="text/plain">
<INPUT TYPE="submit" VALUE="Submit">
</FORM>
While you can use a FORM to define the message body, it's also possible to define the body directly in the mailto: URL :
mailto:someone@somewhere.com?body=HelloWorld
Posted On: 10-Jul-1999