You are here: Home » All Posts » HTML Forms » From an HTML Form to an Email Inbox

{ 18 comments… read them below or add one }

Jan Michael D Magan July 9, 2013 at 3:05 am

can i make a link that sends an email with pure html only????


Jan Michael D Magan July 9, 2013 at 3:05 am

can i make a link that sends an email with pure html onlt


Aneeq May 3, 2012 at 9:39 am

To send HTML mail in PHP, you need to use some additional headers. Below is the code to send HTML mail in PHP.

$to = ““;
$subject= “Subject of email”;
$message= “This is HTML mail.”;
$fromName = “Name of the sender”;
$fromEmail = ““;

// To send HTML mail, the Content-type header must be set
$headers = “MIME-Version: 1.0? . “\r\n”;
$headers .= “Content-type: text/html; charset=iso-8859-1? . “\r\n”;

// Additional headers
$headers .=”From: $fromName ”.”\r\n”;

//Mail function
mail($to, $subject, $message, $headers);





kerie March 16, 2012 at 1:45 pm

Hi, I would like some help please.

Is it possible to create an online form with a “mailto” button to send a copy of the form to the person completing it?

For instance, if the form had the following fields:
Name, Address, Email address

I would want the “submit” button to mail an email of my choice AND the email field in the form.



rudra March 1, 2012 at 9:23 am

how can i make a form recieving .pl file


komputer Bogor February 7, 2012 at 1:29 am

How can I get data from received email?


preeti January 17, 2012 at 7:00 am

I need that php code (Or php page) as i don’t know php code.
i have only HTML web page. and i have use an image and text instead of submit button.

Can anybody provide me a php page???

help me……….pls


Yogesh Jain January 21, 2012 at 9:43 am

$Data .= $key.”:=”.$val.”\n\n”;
print “”.$Data.””;
//mail(ToList, Subject, EmailBodyContents, Optional Headers)
mail(“,“, “Registration Form Submission Details”, $Data, “From:“);


rakesh January 14, 2012 at 8:30 pm

Tell me how an i make a comment box page quick load comment like facebook


me August 2, 2011 at 4:13 pm

Good job


Shane July 1, 2011 at 3:54 pm

is there anyway to hide you e-mail address when you put a mailto form on your website so people could e-mail me but not see my e-mail address, not just making it say “email me” but when they actually open their e-mail to send it? I read your article about the PHP script but I don’t think you are allowed to use PHP scripts in blogger or maybe I’m doing something wrong, is there any free hosting sites that would allow PHP scripts?


devan November 21, 2011 at 4:05 pm



Chandra Shekar May 25, 2011 at 9:34 am

I want the form details to be sent to my mail address. I don’t want outlook express to open when user submits the details. And, I don’t want Simfatic form either.

For instance, take this current phtml or html page as it contains the comment form. When the submit button is clicked on this page, the data/details of the form goes to the “wp-comments-post.php” page. Assist me here!
1. Why the form data goes to another php page rather than mail address?
2. If you say php page is required, then, what code should I write in php, so that, the form details reaches my mailbox?
Please help me..!


prasanth May 27, 2011 at 7:51 am
Donald R. Adams MD April 1, 2011 at 7:28 pm

I don,t want email.  Just mail(postal) me the info I requested: namely the info. on different trips and the application forms.
Thank you,
Donald R. Adams MD


Robbie March 12, 2011 at 8:33 pm

Is it possible to embed the the “mailto” action in blogger. For some reason I can’t get it to work.


Mahmoud February 24, 2011 at 11:24 am

If you please, I need a java code or html, to make like this form not mailto.
plz, I need like this layout for your website if you plz


admin February 24, 2011 at 3:48 pm

Leave a Comment

Previous post:

Next post: