> For the complete documentation index, see [llms.txt](https://nerdlens-infotech.gitbook.io/porichoy-html-template/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nerdlens-infotech.gitbook.io/porichoy-html-template/contact-form.md).

# 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";	
```
