thank you mr osaywe appreciate your help
Great, that's programming for you. Keep going
it is work now, it sent the mail, the port was 456 i corrected it to 465
There should be more info maybe change the number from 3 to 2
2017-03-11 16:04:09 SMTP ERROR: Failed to connect to server: Connection refused (111) 2017-03-11 16:04:09 SMTP connect() failed.
Okay let's see a more detailed error message by adding below line of code to send-mail.php
$mail->SMTPDebug = 2;