Typically used to describe a web form that collects personal information from a user.
Questions tagged [contact-form]
1667 questions
28
votes
7 answers
Github contact form with jekyll?
I'm planning on building and deploying a static site on github. If i was to do that is it still possible to have a contact form?
It seems that's the only set of dynamic functionality that's going to exist on my particular website.
Would i have to…

chrisjlee
- 21,691
- 27
- 82
- 112
20
votes
1 answer
Contact Form Mailer in Rails 4
I am trying to build a contact form in Rails 4, where the form takes a name, email, and body and sends it to my email address. Upon clicking "Submit", the app redirects back to the Contact page correctly, but no email appears to get…

sethfri
- 1,307
- 1
- 15
- 31
18
votes
1 answer
HTML mailto form: prefill subject and body
I am editing an HTML template and need help in the contact form section. I want to make it so when user clicks on the send message button, then the default email client (in my case, Outlook) opens up and the name, subject and body of the email are…

user2642450
- 191
- 1
- 1
- 3
14
votes
4 answers
Emails, a different 'reply to' address than sender address
I have a contact form on a website (a general form: name, email, subject, message) in which mails are sent using google apps smtp to the admins.
Currently if an administrator wants to reply to the mail directly selecting the reply option, the…

crodjer
- 13,384
- 9
- 38
- 52
11
votes
2 answers
reply-to address in php contact form
I bought a simple website template with a php contact form. Everything works great with the one small exception of actually receiving the messages sent via the form. That is, the contact form would show a success message, but the message would never…

MajorKooter
- 113
- 1
- 1
- 6
9
votes
5 answers
How to get the sucess message in the same page after submitting the contact form?
I have created the contact form using HTML and PHP. Also, the mail is coming correctly to mail id. But after the success message, it is redirecting to the form.php page can someone please help me. It is my first time trying to build a website.
Here…

Bhavya Gvn
- 93
- 1
- 1
- 6
9
votes
2 answers
UTF-8 encoding for subject in contact form email
On this sites Website Link contact form I need to send the subject for email in UTF-8.
Where in the code we need to do declare the UTF-8 encoding?
kontakt.php:
require_once "php/sendmail.class.php";
$sendmail = new sendMail();
if…

Daniel Hernandez
- 577
- 2
- 8
- 18
8
votes
8 answers
How to populate the fields from HTML form in Laravel?
I am working on building a form in which I want to populate the fields coming from form (which I have named posting.blade.php)
The controller which I have used for that is:
public function store(Request $request)
{
$this->validate($request, [
…

flash
- 1,455
- 11
- 61
- 132
7
votes
1 answer
How secure can a PHP-driven HTML contact form using Swiftmailer be?
I have a PHP driven HTML contact form on my site. Currently I use the PHP mail() function. Because of that I have to do many user input validation to avoid email header injection attacks. I think I'm secure, but I probably forgot something and I…

AlexV
- 22,658
- 18
- 85
- 122
7
votes
6 answers
Sending Godaddy email via Django using python
I have these settings
EMAIL_HOST = 'smtpout.secureserver.net'
EMAIL_HOST_USER = 'username@domain.com'
EMAIL_HOST_PASSWORD = 'password'
DEFAULT_FROM_EMAIL = 'username@domain.com'
SERVER_EMAIL = 'username@domain.com'
EMAIL_PORT = 465
EMAIL_USE_TLS =…

Radek
- 1,149
- 2
- 19
- 40
7
votes
4 answers
Sanitize contact form without mysql_real_escape_string
I normally use this function to sanitize my form inputs before storing them into my database:
//Function to sanitize values received from the form. Prevents SQL injection
function clean($str) {
$str = @trim($str);
if(get_magic_quotes_gpc())…

Brooke.
- 3,691
- 13
- 49
- 80
7
votes
3 answers
Simple PHP submit form not working
Just making a simple submit form and can't seem to get it working.
It won't even report errors which is odd.
Checked the php.ini and that all seems fine too.
HTML:

mildrenben
- 3,675
- 5
- 23
- 37
6
votes
5 answers
Get Contact Form 7 Form ID In PHP
I'm using contact form 7 to load two different forms into a page and then, in addition to sending the email, dynamically adding that information to a database. Unfortunately, because of the plugin, I can't simply just create all inputs with…

Jon Hendershot
- 456
- 2
- 6
- 15
6
votes
3 answers
How to get post title by contact form 7
I'm using contact form 7 in a website for get REQUEST QUOTE of each product.
Link to example
When visitor submit the REQUEST QUOTE form then I get a mail with desalts and want to get each single post title in that mail. I used [_post_title] code…

AB Siddik
- 61
- 1
- 2
- 7
6
votes
3 answers
contact form 7 - cannot run php
I have installed WordPress and the plugin contact form 7 in it.
To make it a multi-page contact form I have installed Contact Form 7 Multi-Step Forms as well.
Everything works fine until yet. Even the mail gets sent.
The problem I am having is, that…

Friedrich
- 2,211
- 20
- 42