Could Not Connect To SMTP Host

Could Not Connect To SMTP Host

  • Step 1: If you could not connect to SMTP host on PHP Mailer and  WHMCS Mail, proceed with the quick steps given below to fix the issue..
  • Step 2: WHMCS is a host that lets you send an email message out of the box. You can send it without using the PHP mail() function.
  • Step 3: Whereas, PHPMailer is a collection of codes that help you to send email messages easily and quickly. This section explains how to resolve the smtp host connection issue.

Steps to resolve WHMCS not connecting to SMTP host

  • Step 1: Sign in to the WHMCS mail account.
  • Step 2: Click the Setup tab followed by the General Settings option.
  • Step 3: Navigate to the Mail section.
  • Step 4: Re-check the credentials information that you have entered.
  • Step 5: Make sure that the SMTP option is selected from the Mail Type drop-down menu.
  • Step 6: Similarly, check the SMTP Port, SMTP Host, SMTP username, SMTP Password, and SMTP SSL Type credentials.
  • Step 7: Finally, click the Save Changes button.
  • Step 8: Now, check if WHMCS SMTP host issue is resolved.

Steps to resolve the PHP Mailer not connecting to the SMTP host

Follow the steps to resolve your PHP Mailer could not connect to SMTP host issue

  • Step 1: First, check if your SMTP port is opened.
  • Step 2: To check it, open a terminal window on your system and follow the instructions given below.
  • Step 3: Type the ipconfig command.
  • Step 4: Press the Enter button.
  • Step 5: Now, your network information will appear on the screen.
  • Step 6: Note down the IP address mentioned next to the Default Gateway section.
  • Step 7: Type the telnet command when prompted.
  • Step 8: Now the Microsoft Telnet prompt will be open.

Could Not Connect To SMTP Host

  • Step 1: Type your router’s IP address followed by the port number(Example: 10.0.0.1 25)
  • Step 2: Note: In the above example, 10.0.0.1 is the router’s IP address and 25 is the port number.
  • Step 3: If your port is closed, then there is a chance for the PHPMailer to smtp host connection issue to occur.

Check if your port is a block

This is another state which leads to PHPMailer not connecting to SMTP host issue to occur. In the Windows system:

In the Windows system:

  • Step 1: Launch the Control Panel window.
  • Step 2: Click the Programs option.
  • Step 3: Locate & select the Turn Windows features on or off option.
  • Step 4: Click the checkbox beside the Telnet Client option.
  • Step 5: When prompted, click the OK button.

In the Mac system

  • Step 1: Open the terminal window on your Mac system.
  • Step 2: Type the telnet yourdomain.com 25
  • Step 3: To know more troubleshooting steps to resolve the could not connect to SMTP host issue, click the Call Us button available on this screen.

Related Searches

How To Encrypt Email?

How To Encrypt Email?

In order to prevent third parties from reading your mail content, email encryption is done, which is basically digitizing the information within. 

How To Stop Spam Emails?

How To Stop Spam Emails?

There are not many ways to prevent spam from piling up in your Inbox. Here’s how you can filter out most of them.

Fix AT&T Email Error

Fix AT&T Email Error 0x800CCC0F

AT&T Email error 0x800CCC0F occurs when mails are not being sent or received through AT&T services. Due to the technical glitches causing it, many email functions are disabled. The computer’s Operating System might get frozen.

How To Delete All Emails In Gmail?

How To Delete All Emails In Gmail?

Open the Gmail app.Select the inbox tab you want to delete.You’ll find the Empty Box button over the Compose button.

How To Change Email Password?

How To Change Email Password?

Log into the email website.Click the account name and go to your profile.Head to Settings Security & Privacy Change password.