EDIT
Very sorry, I just discovered my directory structure was incorrect.
You can disregard the last message and close the ticket. thanks
I am trying to set up my contact form but am getting an error 500 whenever I submit.
Am using PHP v7.3
I have added the SMTP code from the documentation and replaced with my user name and password etc..
$mail->IsSMTP();
$mail->Host = “mail.yourdomain.com”;
$mail->SMTPDebug = 0;
$mail->SMTPAuth = true;
$mail->Port = 26;
$mail->Username = “yourname@yourdomain.com”;
$mail->Password = “yourpassword”;
The next thing I tried to enable error reporting, but I can't seem to get any errors back so I must have done something wrong.
I have added the customjs class to the form-widget div
<div class="form-widget customjs">
and I have added
error_reporting(E_ALL);
just below the <?php opening tag in the form.php class.
