PDA

View Full Version : Novice: Add button to do mailto


dsmcd01
09-14-2005, 04:11 PM
Hello...

I'd like to add a button to do a mailto. So far I have
<form action="mailto:john@doe.com">
<input type="image" src="$stylevar[imgdir_button]/email.gif">
<input type="hidden" name="subject" value="Here's the email subject">
<input type="hidden" name="body" value="Here's the email body">
</form> but the spaces in the subject and body are replaced by '+'.

"Here's+how+the+text+in+subject+and+body+looks".

Any suggestions?

Thx,
D.