Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello world..
I have tow input textbox in HTML document and one button and I want send the data that in tow input textbox to Email when user click on this button.what is the code should I use....
Thank you very much
Posted
Updated 5-Aug-12 16:51pm
v2
Comments
[no name] 5-Aug-12 22:52pm    
Sending email using HTML?
T.P.M 5-Aug-12 22:54pm    
Yes I mean that...
[no name] 5-Aug-12 22:55pm    
AFAIK there is no support for sending email by HTML...
T.P.M 5-Aug-12 23:02pm    
Ok, how I can do this thing?
I want send information from web page (textboxes)to email via button.
pleas help me,this is my first try to programming web.
and thank you so much
[no name] 5-Aug-12 23:04pm    
I had forgotten about the mailto tag. Christian posted a solution.

1 solution

You can create a mailto tag which sends mail through your default mail program. You can populate the tag using javascript to look up the values in the textbox.
 
Share this answer
 
Comments
[no name] 5-Aug-12 23:00pm    
Dang it! Of course forgot about mailto.
Christian Graus 5-Aug-12 23:04pm    
You're still correct, HTML does not send emails, it simply asks the default mail program to do it.
T.P.M 5-Aug-12 23:05pm    
OK thank you I will try...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900