i was just wondering how do u make a form that when the person using it will hit submit and the info will be sent to my email or to me somehow

everytime i try it doesnt do nething, and i cant find a tutorial on this

i need to do this for a survey i will be making for my friends to take for my final exam that is in 2 weeks

Recommended Answers

All 4 Replies

You must to use either server script languages such as ASP/PHP

here is a PHP example http://www.tutorialguide.net/php_contact_form_tutorial.html
here is a ASP example
http://www.tizag.com/aspTutorial/aspFormsEmail.php

or you can use just form with target mailto to force send the email in Outlook, but server side scripting is better.

<form enctype="text/plain" method="get" action="mailto:info@info.com">
To <input type="text" name="To"/> <br />
Subject <input type="text" name="Subject"/> <br />
Body <textarea name="Body" rows="5" cols="20" wrap="physical" > 
</textarea>
<input type="submit" />
</form>

ok thx im going to use the .asp one but im curious because this tutorial does not exactly state were i should be making my email adress

would it be after the set mail = nothing?

I used the php code small dog linked too but it didn't work it said error on line 24 and I dont know php so I left it,

easiest way would be the mailto: command. find it in behaviors i believe

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.