How to set my Contact Us/ContactForm?

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

@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

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!”;
?>

PHP mail is severely restricted

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

Thank you
@MrJunior

@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

@MAHOfficial Okay…Thank you :smiley:

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

No Problem