Cory
Chevereto Member
I'm working on my site and making the "Contact Form" work and I noticed some known issues you should check into that I've already fixed.
to
For some reason:
$use_phpmailer = true; // true: uses php mailer | false: uses the default mail() function
Isn't working and should look in to it, I've // the code so I can use SMTP.
The SMTP Settings and to 'Enable/Disable' should be added to the config.php file.
Code:
$result = true;
$name = $_POST['name'];
$email = trim($_POST['email']);
$message = $_POST['message'];
to
Code:
$result = true;
$name = stripslashes($_POST['name']);
$email = trim($_POST['email']);
$message = stripslashes($_POST['message']);
For some reason:
$use_phpmailer = true; // true: uses php mailer | false: uses the default mail() function
Isn't working and should look in to it, I've // the code so I can use SMTP.
The SMTP Settings and to 'Enable/Disable' should be added to the config.php file.