question about mailto function

liunx

Guest
hi this is the second day ive ever even looked at HTML and i had a question. lets say i have a web page with a form on it and at the bottom it has a send button. when they click the send button is there a way where they dont have to do anything else like type in the e-mail and then send it but is there a way to put the contents from the form into the e-mail and have it sent right when they click the send button? thanx for your time.<!--content-->Your best bet is to use php.<!--content-->http://www.webdevfaqs.com/php.php#mailer<!--content-->I believe I've done that with something like:<br />
<br />
<form name="x" action="mailto:[email protected]?Subject=Some%20Subject" method="post" enc-type="text/plain"><br />
<br />
I'm sure something's wrong in that since it's stream of conciousness code but it a starting point.<!--content-->Like you, my experience is limited and I also posted the same question you have. Pyro's link to the PHP mailer is great...give it a go, it wasn't the nightmare that you may imagine. Just remember to host on a server that supports PHP!!<br />
<br />
It's really easy.....try it!<!--content-->Originally posted by screaming_banjo <br />
Like you, my experience is limited and I also posted the same question you have. Pyro's link to the PHP mailer is great...give it a go, it wasn't the nightmare that you may imagine. Just remember to host on a server that supports PHP!!<br />
<br />
It's really easy.....try it! <br />
IFF you have PHP available.<!--content-->
 
Back
Top