Click here to Skip to main content
16,017,261 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi.......
how can i send a mail by clicking the send button after filling the form..so that we have to gt a mail conataining all the details of filling a form....i want code using html...please tell me fastly
Posted
Comments
Sandeep Mewara 6-Oct-10 5:49am    
What have you tried so far?
1. Sending email -> 1000's of articles and question here itslef
2. You just need to prepare your email text using form filled at server side.
Whats stopping you?

1 solution

You can't use HTML to send email.

HTML will be what you use to build the form that is rendered in the client's browser.

If you wish to send email you will need to use a script written in one of any number of server-side languages. This site has many samples in .NET, PHP and Java.

The form fields are POSTed to the server when the user clicks the submit button. The fields are sent to the location in the form's ACTION attribute. The server receives that data, and depending on your framework, makes it easy to iterate through that data and send out an email.

Cheers.
 
Share this answer
 

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