Does anyone know the code for an email form that I will be able to put directly on my website?
467689
make php file and put this codes in it\n\n<?\n$name= $_REQUEST['name'];\n$last= $_REQUEST['last'];\n$email= $_REQUEST['email'];\n$msg= $_REQUEST['msg'];\n$msg2="\n<div align=&#92;"center&#92;">\n<table border=&#92;"1&#92;" width=&#92;"42%&#92;" bordercolor=&#92;"#C0C0C0&#92;" height=&#92;"208&#92;">\n<tr>\n<td>".$name."</td>\n</tr>\n<tr>\n<td>".$last."</td>\n</tr>\n<tr>\n<td>".$email."</td>\n</tr>\n<tr>\n<td height=&#92;"105&#92;">".$msg."</td>\n</tr>\n</table>\n</div>";\n\n\n$to  = "your@email.com" . ", " ; // note the comma\n$to .= "your@email.com";\n\n$subject = "Online Form";\n$headers  = "MIME-Version: 1.0&#92;r&#92;n";\n$headers .= "Content-type: text/html; charset=iso-8859-1&#92;r&#92;n";\n$headers .= "From: Sales Department <visitor@yoursite.com>&#92;r&#92;n";\n$headers .= "Cc: your@email.com&#92;r&#92;n";\n\nmail($to, $subject, $msg2, $headers);\ninclude("done.html");\n\n?>\n\n\nand make this html form\n\n<form method="POST" name="mail" action="mail.php">\n<table width="400" cellspacing="2" cellpadding="2" border="0">\n  <tr>\n    <td width=90>name:</td>\n    <td>\n<input name="name" type="text" style="border-width:1; font-family: tahoma; font-size: 1em; width: 160" onkeypress="return submitenter(this,event)" onkeydown="return changelang(this);" size="1"></td>\n  </tr>\n<tr>\n    <td width=90>lastname:</td>\n    <td>\n<input name="last" type="text" style="border-width:1; font-family: tahoma; font-size: 1em; width: 160; height:17" onkeypress="return submitenter(this,event)" onkeydown="return changelang(this);" size="1"></td>\n  </tr>\n<tr>\n    <td>email:</td>\n    <td><input name="email" dir="ltr" type="text" style="border-width:1; font-family: tahoma; font-size: 1em; width: 160"></td>\n  </tr>\n<tr>\n    <td valign=top>decription:</td>\n    <td>\n<textarea name="msg" cols="28" rows="3" id="comments" style="border-width:1; font-family: Tahoma; font-size: 1em; padding-left:4; padding-right:4; padding-top:1; padding-bottom:1; width:220px;" onkeypress="return submitenter(this,event)" onkeydown="return changelang(this);"></textarea></td>\n  </tr>\n<tr>\n    <td></td>\n    <td><input type="submit" value="submit" name="submit" style="font-family: Tahoma; font-size: 1em"></td>\n  </tr>\n</table>\n</form>\n\nalso make done.html and put your tanx message in it
331357
Try the php script at http://www.formmail.com. It supports attachments.
995965
Yes, the sendmail function in PHP is perfectly suited to do this.  Your form handler should have everything you need already in it.
149773
Just send the code with the html in it!
449848
I'm interested, can you click on my name and send me an email as to exactly what you do.
1173430
well what you want is a bit customized, you need a software guy to make it for you. if you need help with it, i can have it made for you...\n\nyou need a small database with some designed forms for it...\n\nby the way my email address is\n\nhaseebuddin@gmail.com
1008768
Check this link\n\nhttp://www.javacommerce.com/displaypage.jsp?name=javamail.sql&id=18274
1021097
If u have adequate knowledge of PHP, i suggest u write it yourself. that way, u have full control of the email system.. plus it will ALWAYS be free.\n\nalternatively, u may want to look at other PHP script repositories. a few worth a mention are:\n\nhttp://php.resourceindex.com/Complete_Scripts/E_Mail_Utilities\nhttp://www.zend.com
250656
There are several free sites on the web that will make the form code for you. All you need to do is click a few selections and click submit. After the code is written view it to see how they did it. Saves you lots of time.\n\nhttp://www.htmlbasix.com/forms.shtml\nhttp://www.newbiehangout.com/generators/\nhttp://www.formsite.com/\nhttp://www.formbuddy.com/
343648
u can tell me email me
674331
idepends what language you're using - depending on how secure you want it, you could put the file in question on a page with an arbitrary name (say "mywebsite.com/gkhkfgksn.html" that is only accessed via an html form which asks users to eneter their email and then use java or php or whatever to validate the form data. (simple validating stuff you should be able to find anywhere - mayve dynamicdrive.com or phpfreaks.com or something). \n\ni like php for my stuff- - i think i'd make users register for the site w/ email address and ask them if they'd like to be added to my mailing list onthe same form, and let it all flow into a mysql DB.
432205
It depends on what you want the forms to actually *do*. There are a number of prebuilt scripts and systems - from the legendary FormMail, through forums like YaBB, up to full CMSes like Joomla!, which will perform just about any common task you could want, without programming.\n\nShould customisations be required, coding will be needed, so it's time to break out the Perl and PHP books. On that score, you can't go far wrong with O'Reilly.
442588
its just a simple form your talking about, I think most basic editors have them like frontpage or dream weaver. \n\nits simple something like this\n\n<FORM action="http://somesite.com/prog/adduser" method="post">\n    <P>\n    <LABEL for="firstname">First name: </LABEL>\n              <INPUT type="text" id="firstname"><BR>\n    <LABEL for="lastname">Last name: </LABEL>\n              <INPUT type="text" id="lastname"><BR>\n    <LABEL for="email">email: </LABEL>\n              <INPUT type="text" id="email"><BR>\n    <INPUT type="radio" name="sex" value="Male"> Male<BR>\n    <INPUT type="radio" name="sex" value="Female"> Female<BR>\n    <INPUT type="submit" value="Send"> <INPUT type="reset">\n    </P>\n </FORM>
401046
Set the action of your form as mailto:\n\n<form method="post" action="mailto:someone@somewhere.com">\n\nNote that this will invoke the user's e-mail program and compose the message; it will be up to the user to actually send you the message.\n\nIf you don't want to do that, you'll need a mail gateway of some sort, such as a Perl / CGI script, PHP's mail() function or ASP.NET's MailMessage() or Message() classes.\n\nCheck with your Web hosts to see what gateway you have, update your question here and I can be more specific.
1043475
Usually Email come with the form address. Please look at that and you will know where the Email came from.
284496
http://www.htmlgoodies.com/tutorials/forms/article.php/3479121
951066
It depends what kind of a website you have.  If it runs on a particular CMS, like Drupal or WordPress then there are some plugins or modules that will do that for you...otherwise you need a script.  Its pretty damn simple to write it in php, I can write it for you or find one...email me from my blog (source).