cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New

cPanel email problems

I was trying to configure my SMTP email for one of my domain but i am not receiving emails here what i have :

//Server settings
//$mail->SMTPDebug = 2;
$mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = 'mail.mydomain.com';
$mail->SMTPAuth = true;
$mail->Username = 'info@mydomain.com';
$mail->Password = 'mypass';
$mail->SMTPSecure = 'tls';
$mail->Port = 587;

This suppose to send email confirmation code when people sign up but i am not getting my email is there something im doing wrong here? can someone help please. thank you