When I try to get my contact form to send it just loads forever and does not send. I know my hosting server's smtp works as Ive sent test emails through it so that shouldnt be the problem (Im using Cloudways if that matters.)
I have the code
$mail->IsSMTP();
$mail->Host = "mail.privateemail.com";
$mail->SMTPDebug = 0;
$mail->SMTPAuth = true;
$mail->Port = 587;
$mail->Username = "fergus@insiteable.com";
$mail->Password = "*********";
typed in but it still does not send. Any help would be greatly appreciated.
