View Full Version : send email form
01-13-2010, 04:17 PM
i can't seem to find an example of sending email using html..
i was searching for something like this (http://www.w3schools.com/PHP/php_mail.asp) but i won't be using php just plain html...
01-13-2010, 04:22 PM
Are you talking about sending an HTML email? Or, using HTML on your site to send an email to...
01-13-2010, 06:46 PM
You could use a mailto (http://www.isolani.co.uk/articles/mailto.html).
Like this -
This is a mail link:
<a href="mailto:firstname.lastname@example.org?subject=Hello%20again">E-Mail me</a>
01-13-2010, 09:02 PM
If you are looking specifically to e-mail form data to yourself (or whatever address you need) I think you can create a CGI script to do that for you. Try a google search for it.
Most developers use PHP or similar though. Is there some reason that you can't do this in PHP or do you just not want to do this in PHP?
01-14-2010, 04:03 AM
thanks! it was helpful!
what i used is make the action of the form send to a php page....
but i have a problem the sending of email is already working but the format i get in my email doesn't work..
this is the message i receive in my email
<u>message of the customer: </u>hello i want to order<br/><u>contact of the customer: </u>9872349<br/><u>From: </u>michael
here is the code of my php page
$to = 'email@example.com';
$email = $_REQUEST['email'] ;
$subject = 'INquiry' ;
$message = "<u>"."message of the customer: "."</u>".$_REQUEST['message'].
'<br/>'."<u>"."contact of the customer: "."</u>".$_REQUEST['contact'].
'<br/>'."<u>"."From: "."</u>".$_REQUEST['name'] ;
$headers = 'From: '.$_REQUEST['name'] ;
echo "Your customer's email add: ".$email."<br/>". "subject of the email: ".$subject."<br/>" .$message."<br/>" .$headers;
01-14-2010, 09:01 PM
var body_message = "Name "+ Name + "%0D%0A" + "Address " + Address +"%0D%0A";
Another way is to use escape("\n") as in -
var body_message = "Name "+ Name + escape ("\n") + "Address " + Address + escape ("\n");
In both cases be sure to test it with the relevant browser/email client combinations before relying on it for mission-critical email processing. But they both work in IE/Outlook.
01-23-2010, 03:31 PM
If u need HTML contact form for ur Website....so u can go to Emailmeform.com
This site has very good form Format and u also can maintain the form according to ur Way...I am also using this site form in My all website and it works really great.
check form on my website :
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.