hi,
i hv SMTP error with my gmail acc and in localhost it work fine.but after i put under my hosting it not working. it show "SMTP Error. Could not connect to SMTP host.". Do i need to setup anything on my cpanel for make it working?
here my setting i used
$mail->IsSMTP();
$mail->Host = "mail.yourdomain.com";
$mail->SMTPAuth = true;
$mail->SMTPSecure = "ssl";
$mail->Host = "smtp.gmail.com";
$mail->Port = 587;
$mail->Username = "*******@gmail.com";
$mail->Password = "*********";

