FAQ Database Discussion Community


contact form not sending senders email

php,email,contact-form
i don't know if this is a common problem but i can't seem to understand why it is happening. I am trying to process a form and have it send the details to an email. Simple enough. Here is the PHP code for it. When someone fills the form up...

Contact form in footer, or on contact page for better SEO?

seo,contact-form
I would like to place the form in the footer of the page, and use the "Contact" link in the main <nav> as an anchor to the <footer>. Would this be fine from an SEO perspective, or should I scrap this idea and stick with a straight-up contact page? Or...

PHP form not submitting but not showing any errors

javascript,php,jquery,contact-form
I am trying to set up a really simple coming-soon page with a contact form. I have uploaded everything here (click contact us now button). Now, when I fill in the information and click send, it will give me an error message. I can't see anything wrong and have error...

php help redirect contact form to thank you page

php,contact-form
Currently my contact form responds with a message. I would like to change it so it redirects to a thank you page instead. Can someone help me adjust my code accordingly? I know I either need to do window.location or headerLocation but I'm not sure where to insert it in...

Notice: Undefined index: submit in (Path)

php,forms,contact-form
Hey StackOverflow Community, i have a problem with my Contact Form. I used this PHP Script: <?php if ($_POST["submit"]) { $name = $_POST['name']; $email = $_POST['phone']; $email = $_POST['email']; $message = $_POST['message']; $human = intval($_POST['human']); $from = 'Kontaktformular'; $to = '[email protected]'; $subject = 'Buchungsanfrage - $name'; $body ="From: $name\n: $phone\n...

little help on contact form?

javascript,html,css,contact-form
I need some little help with my contact form. I'm building my website on dreamweaver and i have no server yet, i just need you to tell me what else is missing in my code for my contact form to work. 2- i also need the "message sent" to appear...

Codeigniter PHP Mailer, Sender Info

php,email,codeigniter-2,phpmailer,contact-form
I'm using Codeigniter PHP Mailer which is hosted here: https://github.com/ivantcholakov/codeigniter-phpmailer/ and with gmail smtp it works flawless. However,using it for a standard contact form, when visitors use that contact form and send us an email, they basically send mails from our mail address to our another mail addess. When they...

contact form isn't working [closed]

javascript,php,jquery,contact-form
I have this website www.nausea.ws and nothing happens when you submit the form, it only deletes the "name field"! I also need the "your message was sent" in the same page, below the form to appear! on browser console it says: Uncaught ReferenceError: subject is not definedcontact_form.js:17 (anonymous function)jquery-1.8.3.min.js:2 v.event.dispatchjquery-1.8.3.min.js:2...

Show message status in html page with PHP - Contact forum

php,html,contact-form
I have my PHP set up it works fine so far with my contact form (I'm a 'Newbie' in PHP). I am using echo to display the status of the message (if it is sent or not). once the user clicks the send button, the status message shows in a...

PHP form does not seem to be sending

php,forms,contact-form
I have the following HTML: <form id="enquiryform" name="enquiryform" action="contact.php" method="post" > <table border="0" cellspacing="2" cellpadding="4" align="left"> <tr> <td>Name</td> <td><input name="efcontactname" type="text" class="fields" value="" /></td> </tr> <tr> <td>Company Name</td> <td><input name="efcompanyname" type="text" class="fields" value="" /></td> </tr> <tr> <td>Postcode</td> <td><input...

Contactform.php not sending all inputs

php,contact-form
I have a contact form that is working fine, it sends the email except that it doesn't post the email address of the person that sends it. I have no idea why, I tried changing the $from variable and nothing changes. Is there something obvious I am missing? It is...

Contact form specific to a certain page/post

php,wordpress,contact-form
Im using wordpress to display courses where the visitor can book a place if interested using a contact form (contactform7). What Im doing today is letting the costumer write the name of the course so that I know which course to sign him/her up to. Ive had several complaints about...

GMX contact form

php,email,phpmailer,contact-form
I'm trying to create a simple SMTP-contact form with the help of phpMailer for my homepage but it's not working. It should forward the information of the fields "name, mail, subject, message" to my mailbox (in this case "name, mail, subject, message"). The input fields are also named "name, mail,...

PHP Contact Form Mail Function Not Working

php,html,phpmailer,contact-form
I've been trying to implement a PHP contact for for a website, which seems admittedly like something I shouldn't be stuck on, but I keep running into trouble. I've been putting my HTML and PHP in separate files which I figure is good practice, so my setup looks like this:...

Multiple emails in Foundation 5 feedback form

php,contact-form,zurb-foundation-5
I'm very much a beginner, but I've managed to put together a feedback form for my website. The problem I'm having is that the form is sending 2 emails rather than 1. Any thoughts on what is causing this? $('#myForm') .on('valid.fndtn.abide', function () { var name = $("input#name").val(); var email...

Bootstrap Contact Form with PHP. Can't get it to work [closed]

php,html,twitter-bootstrap,github,contact-form
So I have designed a contact form for my webpage so that users can email me directly from the webpage. I have the html in contact.html and the PHP code in contactForm.php if the user succesfully inputs his/hers information and the email is sent I want the user to be...

fatfree framework, repopulate fields after unsuccesful validation

redirect,contact-form,fat-free-framework
I have GET route which shows the contact form, and POST route when user submits the form, then in my controller method I do some validation tests on data being submitted.. how would I now send user back to form if data is not valid, with entered data being re-populated...

contact form php failed

php,html,contact-form
I have a problem with my contact form. When testing it I receive an email with no content. Just empty input titles "from: (empty) Message: (empty)". PHP CODE <?php $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; $formcontent="From: $name \n Message: $message"; $recipient = "[email protected]"; $subject = "Contact Form";...

Contact Form fails to send out an email [duplicate]

php,email,contact-form
This question already has an answer here: PHP mail form doesn't complete sending e-mail 10 answers After filling up the contact form with valid information, and hitting submit, I get a message of success! But, on checking the my inbox, I don't the email. What is wrong ? P.S....

How to use anchor in rails to see error msg after submiting contact form

ruby-on-rails,routes,anchor,contact-form
I'm new to rails and after reading first chapters of Ruby on Rails Tutorial I'm trying to setup simple one-pager with contact form in the lowest section of the page. I made it work, it's sending emails after submitting the form correctly. Unfortunately, if your input is incorrect, page will...

Email contact-form based in php and html not working

php,email,contact-form
I'm creating a website with a template from templateforest. I have an HTML contact form which is integrated at the bottom of the site and it is related with a PHP file for the submit process. Here you are the code from the HTML part: <!--contact section start--> <div class="section...

Height of input box on Contact 7 form

css,wordpress,plugins,contact-form
I am trying to reduce the height of the "Your Message" input box on the Contact 7 form on this page: https://www.nycofficesuites.com/new/office-space-vertical/ I've tried the following (with different heights so I can see which one is working) but nothing is working. Thanks for your help. .wpcf7-textarea { height: 80px; }...

How to use onfocous, onblure in contact form 7 wordpress

wordpress,contact,contact-form,contact-form-7,onfocus
I am using contact form 7 in a wordpress website. I want to use onfocous and onblure attribute in contact form 7. I have tried a lot, but unable to use it. Please help me. Thanks Tanvir Hasan...

Contact form PHP script doesnt load?

php,html,contact-form
So I am trying to build a contact form using html and a php script. I have done this in the past (with templates) and all seem fine however I tried creating one on my own and for some reasons it isnt loading the script when submitting it on the...

PHP contact forum - After clicking “send” button how to make it not change the url?

php,email,url,contact-form
I have a forum and its one part of the page and it works fine but when clicking on the send button the url always changes to my .php file so : (mysite.com/forum.php) is there away to stop this? and have it send the infomation to the email and thats...

How to email the contact form in a wordpress page without using php

html,wordpress,forms,email,contact-form
I have created a contact form through Wordpress. As of now, I am using a mailto tag, but it opens my Outlook every time. I want to send the contact form to the required email without any client-side action. For that, I planned to use a PHP script by using...

Contact form 7 email subject should be post title

php,wordpress,contact-form,subject
I am using custom form 7 I want that, If anyone clicks the mail button under single post in wordpress, it will automatically redirect him to contact-us page and then subject of the mail will be the post title. How can I do that?...

Can a placeholder change its color (validate) when the field is required?

validation,placeholder,contact-form
I'm trying to make a placeholder validation effect that when a field is required, its placeholder changes its color form white to red. Please help me with this. I've tried webkits and bootstrap "control label" but its not working properly. With the control label class its working properly on firefox...

PHP Mailer error using Go Daddy

php,contact-form
mailPlease help. My PHP mailer is not working that I host on Go Daddy. Any idea why the email won't send? <?php session_start(); $contact=$_POST['contact']; $phone=$_POST['telephone']; $email=$_POST['email']; $msg=$_POST['message']; $to="[email protected]"; $subject="Contact Form"; $from=$email; $message .= '<table border="1px" width="50%" style="border:1px black solid;margin:0px auto">'; $message .= '<tr><th colspan="2" style="text-align:center">Contacts Information</th></tr>'; $message .=...