PDA

View Full Version : Email body from mailto form comes to me blank?


sportslinq
11-12-2002, 01:04 PM
Help me figure this one out:
I have a mailto post form on my website that is sending me an email with a blank body. It is located at www.tailgateparty.us/submit (http://www.tailgateparty.us/submit) Thanks!
-Lars

celiawonder
11-12-2002, 07:39 PM
Your code as following :

<form onsubmit="return disableForm(this);"
action="mailto:administrator@tailgateparty.us?subject=submission" method="post" enctype="text/plain">


It seems to me, you also have to specify the body object in your mailto statement.

An example like this:

"mailto:"+to+"?subject="+ subject +"&body=" + escape(body)

where you could assign string values to "to", "subject", and "body" using textbox in your form.

Hope this works!!