How to set my Contact Us/ContactForm?


#1

My website is colorgrade.in
Please help me how do I set up my Contact Form, so that I get the data or information on my Email, when someone fills up the form and hit Send Message.

This is my Contact US page.
http://colorgrade.in/contact.html

Thank You


#2

@Bhavya said:
My website is colorgrade.in
Please help me how do I set up my Contact Form, so that I get the data or information on my Email, when someone fills up the form and hit Send Message.

This is my Contact US page.
http://colorgrade.in/contact.html

Thank You

you need to create a .php file for parsing data from the form present on .html file


#3

I’m using this code. And I’m not getting any email on my mail ID. Please help me with the code.

<?php $name = $_POST['fname']; $email = $_POST['email']; $phone = $_POST['phone']; $message = $_POST['message']; $formcontent="From: $name \

Message: $message";

$recipient = "myemail@xyz.com";
$subject = “Contact Form”;
$mailheader = "From: $email \r
";
mail($recipient, $subject, $formcontent, $mailheader) or die(“Error!”);
echo “Thank You!”;
?>


#4

https://infinityfree.net/support/php-mail/

PHP mail is severely restricted

You can use gmail SMTP: https://infinityfree.net/support/how-to-send-email-with-gmail-smtp/


#5

Thank you
@MrJunior


#6

@MrJunior said:
https://infinityfree.net/support/php-mail/

PHP mail is severely restricted

You can use gmail SMTP: https://infinityfree.net/support/how-to-send-email-with-gmail-smtp/

Adding more in this
If you want to use your domain for sending email then you can use sendgrid whitelabel smtp


#7

@MAHOfficial Okay…Thank you :smiley:


#8

@Bhavya said:
@MAHOfficial Okay…Thank you :smiley:

No Problem


closed #9