Hi, im having issues with the contact form, when submitting I get the following error:
"jquery.js:2 POST file:///home/jid/EnerlinkWeb/include/form.php net::ERR_FAILED"
You can check a live version of the web in enerlink
Also, this is my form.php, i followed the documentation for editing it:
'contacto@enerlink.cl', // Your Email Address
'name' => 'Contacto' // Your Name
);
/*-------------------------------------------------
Sender's Email
---------------------------------------------------*/
$fromemail = array(
'email' => 'soporte@enerlink.cl', // Company's Email Address (preferably currently used Domain Name)
'name' => 'Soporte' // Company Name
);
/*-------------------------------------------------
reCaptcha
---------------------------------------------------*/
// Add this only if you use reCaptcha with your Contact Forms
$recaptcha_secret = ''; // Your reCaptcha Secret
/*-------------------------------------------------
PHPMailer Initialization
---------------------------------------------------*/
$mail = new PHPMailer();
/* Add your SMTP Codes after this Line */
$mail->isSMTP();
$mail->SMTPDebug = 0;
$mail->Host = 'smtp.gmail.com';
$mail->Port = 587;
$mail->SMTPSecure = 'tls';
$mail->SMTPAuth = true;
$mail->Username = "contacto@enerlink.cl";
$mail->Password = "[Redacted]";
// End of SMTPThe html is from the templates but i have removed the Captcha.
