Hardik Joshi Posted July 15, 2019 Share Posted July 15, 2019 hello, i am using zoho mail service. but the problem is zoho smtp not connect to whmcs smtp mail when send email than i see this error " Send Email Message Email Sending Failed - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Email Queue Processing Completed " Please help me to solve it 0 Quote Link to comment Share on other sites More sharing options...
WGS Posted July 16, 2019 Share Posted July 16, 2019 Edit the configuration.php file and add the following code after that try to send mail you will see the exact error. $smtp_debug = true; 0 Quote Link to comment Share on other sites More sharing options...
Hardik Joshi Posted July 16, 2019 Author Share Posted July 16, 2019 i try this $smtp_debug = true; but not working and see this error 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Marcus Posted July 16, 2019 Share Posted July 16, 2019 The connection refused error indicates that your SMTP server is either rejecting the connection or more likely cannot properly connect (either wrong Encryption Type, Hostname, Port Number, or combination of these). I would recommend reaching out to your sysadmin to ensure the server itself can communicate to the SMTP server via the configuration you have specified and double check the provided details. 1 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted July 16, 2019 Share Posted July 16, 2019 Could very well be a firewall rule that rejects the connection. Are you able to telnet to the SMTP port? 1 Quote Link to comment Share on other sites More sharing options...
Hardik Joshi Posted July 17, 2019 Author Share Posted July 17, 2019 10 hours ago, WHMCS Marcus said: The connection refused error indicates that your SMTP server is either rejecting the connection or more likely cannot properly connect (either wrong Encryption Type, Hostname, Port Number, or combination of these). I would recommend reaching out to your sysadmin to ensure the server itself can communicate to the SMTP server via the configuration you have specified and double check the provided details. i check smtp details 5-6 times and zoho send me the smtp host and details you can check here and i check my smtp details 5-6 times but not working 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted July 17, 2019 Share Posted July 17, 2019 If you have SSH access to the server from where your WHMCS installation is, please try using the following command: telnet smtp.zoho.com 465 You should see something like this: Trying 204.141.43.189... Connected to smtp.zoho.com. Escape character is '^]'. If you only see the first line, something is blocking you from making the connection - probably a firewall. 1 Quote Link to comment Share on other sites More sharing options...
Hardik Joshi Posted July 17, 2019 Author Share Posted July 17, 2019 1 minute ago, DennisMidjord said: If you have SSH access to the server from where your WHMCS installation is, please try using the following command: telnet smtp.zoho.com 465 You should see something like this: Trying 204.141.43.189... Connected to smtp.zoho.com. Escape character is '^]'. If you only see the first line, something is blocking you from making the connection - probably a firewall. ok let me check it Thank you for your support 0 Quote Link to comment Share on other sites More sharing options...
Hardik Joshi Posted July 18, 2019 Author Share Posted July 18, 2019 On 7/16/2019 at 11:32 PM, DennisMidjord said: If you have SSH access to the server from where your WHMCS installation is, please try using the following command: telnet smtp.zoho.com 465 You should see something like this: Trying 204.141.43.189... Connected to smtp.zoho.com. Escape character is '^]'. If you only see the first line, something is blocking you from making the connection - probably a firewall. i try it but not working. any other email smtp services website ? 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted July 18, 2019 Share Posted July 18, 2019 Seems like something is blocking the connection from your server. You will face the same issue if you try to connect to another SMTP service if it's running on the same port. Ask your host to open port 465 outgoing TCP. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted July 18, 2019 Share Posted July 18, 2019 @hardikjoshi(gujjuhost.com) Can you please include the output you get when running the telnet command from your server 0 Quote Link to comment Share on other sites More sharing options...
Hardik Joshi Posted July 19, 2019 Author Share Posted July 19, 2019 On 7/16/2019 at 11:32 PM, DennisMidjord said: If you have SSH access to the server from where your WHMCS installation is, please try using the following command: telnet smtp.zoho.com 465 You should see something like this: Trying 204.141.43.189... Connected to smtp.zoho.com. Escape character is '^]'. If you only see the first line, something is blocking you from making the connection - probably a firewall. thank you for your grate support the problem is now solved with this step i am very happy with this community Thank you @DennisMidjord 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted July 22, 2019 Share Posted July 22, 2019 Glad to hear you have managed to sort this out @hardikjoshi 0 Quote Link to comment Share on other sites More sharing options...
Liton Farazy Posted May 15, 2022 Share Posted May 15, 2022 I am facing the same issue. and I run this command to my server where whmcs is installed. But it showing, command not found. [root@sg1 ~]# smtp.zoho.com 465 -bash: smtp.zoho.com: command not found 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.