Nijhum template comes with a simple PHP mail script that allows you to gather leads from your website without using any CMS or 3rd-party mailing tool.
Open mail.php
file from nijhum-template folder with a text/code editor and change $mail_to
variable to your own Email address.
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
# Replace this email with your own email address
$mail_to = "faruk@priyodesign.com";
# Sender Data
$subject = trim($_POST["subject"]);
Troubleshooting
If you are experiencing any issues with the mailing script, please contact your hosting provider for assistance and make sure that:
- Your hosting plan actually supports PHP and it’s enabled in your account.
- mail() function is allowed for execution.
- Your domain is authorized to send emails.
- Letters sent from your website are not going into the spam folder