Testing outbound connectivity from THIS server to mail.aaravconstructions.com ------------------------------------------------------------ [OK] DNS resolved mail.aaravconstructions.com -> 103.76.231.32 [OK] openssl extension is loaded. [OK] Port 465: connected in 1094ms [OK] Port 587: connected in 153ms [FAIL] Port 25: Connection timed out (errno 110), after 8008ms ------------------------------------------------------------ How to read this: - If ALL ports FAIL with a timeout (~8000ms) -> your hosting provider is blocking outbound SMTP connections at the firewall level. You'll need to ask their support to whitelist it, or use a local mail relay/SMTP account on THIS server instead. - If ports FAIL instantly (near 0ms) with 'Connection refused' -> the mail server itself is refusing connections on that port (may be closed, or your IP is blocked on their end). - If port 465 fails but 587 succeeds -> switch send-email.php to use port 587 with STARTTLS instead of SMTPS on 465. - If DNS lookup FAILED -> the server can't even resolve the hostname, likely a DNS/network config issue on this host.