PDA

View Full Version : how to send form data via mail



parvathasundari
11-19-2008, 10:41 AM
I have to send form data via email for this i don't have server.
Is it possible to send form data via mail using free online webservers.
If it is possible means help me by telling that way.

the code i used is,
<form action="mailto:test1@testdomain.com?subject:text" method="post">
. .
form elements
. .
</form>

can anybody help me.
Thanks in advance.

fobos
11-23-2008, 04:33 AM
i have not tried this on yahoo or msn...but it does work on outlook, so i guess it has to work for mail domains. try this:


<form action="mailto:someone@mail.com?Subject=you have mail" method="post" enctype="text/plain">
<input type="text" id="something" name="something" />
<input type="submit" name="submit" value"Submit" class="button">
</form>

that should work for you.:cool:

tfit
11-23-2008, 03:08 PM
I have to send form data via email for this i don't have server.
Is it possible to send form data via mail using free online webservers.
If it is possible means help me by telling that way.

the code i used is,
<form action="mailto:test1@testdomain.com?subject:text" method="post">
. .
form elements
. .
</form>

can anybody help me.
Thanks in advance.

I don't think it's possible with your setup and I don't understand exactly your question. Do you want to send form data from your email processed by the webserver or do you want form data send to your email?
Anyway, in post instances the server needs to have a process handler to interpreter your data. Without that it's not going to work