👨‍🦱
Documentation
  • Welcome
  • Installation
  • Structure
  • CSS Files
  • Google Fonts
  • JS Libraries
  • Contact Form
Powered by GitBook
On this page

Was this helpful?

Contact Form

This is a PHP Script for sending messages to your email, you should replace info@example.com to your email to start receive messages.

File Location: mail/contact.php

$to = "info@example.com"; // Change this email to your //
$subject = "$m_subject:  $name";
$body = "You have received a new message from your website contact form.\n\n"."Here are the details:\n\nName: $name\n\n\nEmail: $email\n\nSubject: $m_subject\n\nMessage: $message";
$header = "From: $email";
$header .= "Reply-To: $email";	

PreviousJS Libraries

Last updated 3 years ago

Was this helpful?