Is the mail disabled..?
worry not – use SMTP library and contact form
We recommend the following library
/SMTP-PHP-Contact-Form
This is the simplest libary that will only require configuration on the send.php page
$mail->Host = "mail.yourdomain.com"; // SMTP servers $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "info@yourdomain.com"; // SMTP username $mail->Password = "password"; // SMTP password $mail->From = "[email protected]"; // it must be a match with SMTP username $mail->Fromname = "my Company Name"; // from name $mail->AddAddress("[email protected]","my Company Name"); // SMTP username , Name Surname Add to your page where you want the form in the "index.php" file Ensure all files are on the same folder.
Read more about the Library here: https://github.com/kocakmhmt/SMTP-PHP-Contact-Form
Test Online Demo here: http://www.kocakmhmt.com/phpmailer