Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello every body! I'm new here, I have downloaded a template html5, this is html code for my contact form and it works without PHP, can you help me please to fix my problem in contact form ?
where can I add the receiver email address ? because it doesn't have any PHP file !! I checked the contact form css files but they don't have anything too.

What I have tried:

HTML
<!-- Contact Form -->
<div class="col-md-12 col-sm-12 col-xs-12 goll-contact-form wow bounceInRight">
    <div id="contact-result"></div>
        <div id="contact-form">
            <div class="goll-input-name goll-input-fields">
                <input type="text" name="name" id="name" placeholder="Name">
            </div>

            <div class="goll-input-email goll-input-fields">
                <input type="email" name="email" id="email" placeholder="Email">
            </div>

            <div class="goll-input-message goll-input-fields">
                <textarea name="message" id="message" cols="30" rows="10" placeholder="Message">&lt;/textarea>
            </div>

            <input type="submit" value="SEND MESSAGE" id="submit-btn">
        </div>
    </div>
<!-- Contact Form End -->
Posted
Updated 20-May-16 18:52pm
v4
Comments
George Jonsson 18-May-16 10:29am    
The bad hamsters had eaten most of the HTML tags. I tried to reformat the code, but you better check it is OK.
Sergey Alexandrovich Kryukov 18-May-16 11:19am    
No, there is no any forms (as they are understood in HTML) in this HTML fragment.
The fragment of HTML does nothing. It only shows some controls, so what? It makes no sense per se; any statements like "it works" make no sense at all. Even if something works, it's due to some other code you don't show.

You cannot compose and send mail without any server-side scripting, PHP or not, period.

Sorry, but the question really makes no sense.

—SA
ZurdoDev 18-May-16 11:42am    
This is just some html controls. I don't understand what you are asking.

Wrap your code with

HTML
<form action="yourfile.php" method="POST"></form>


---Your code will go here---

HTML




And handle your user's submitted data in yourfile.php file
 
Share this answer
 
Add a form tag and assign action attribute to "mailto:receiver@email.com"
 
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