The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SMTP Error: Could not connect to SMTP host

Discussion in 'E-mail Discussions' started by Jill@2017, Apr 4, 2017.

  1. Jill@2017

    Jill@2017 Registered

    Joined:
    Apr 4, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Netherlands
    cPanel Access Level:
    Website Owner
    Hi,
    I have an emailform on my WordPress website that has been working fine for the past 3 years. Since the lastest update of Cpanel, I get an SMTP error

    My roundcube mail sends and receives emails fine and also receiving and sending emails on my phone works fine using the same SMTP host, port and authentication. The last lines of the error are line these:

    2017-03-31 08:20:29 CLIENT -> SERVER: STARTTLS
    2017-03-31 08:20:29 SMTP -> get_lines(): $data is ""
    2017-03-31 08:20:29 SMTP -> get_lines(): $str is "220 TLS go ahead
    "
    2017-03-31 08:20:29 SERVER -> CLIENT: 220 TLS go ahead
    2017-03-31 08:20:29 SMTP Error: Could not connect to SMTP host.
    2017-03-31 08:20:29 CLIENT -> SERVER: QUIT
    2017-03-31 08:20:29 SMTP -> get_lines(): $data is ""
    2017-03-31 08:20:29 SMTP -> get_lines(): $str is "221 server.budgetdomainnameserver.nl closing connection
    "
    2017-03-31 08:20:29 SERVER -> CLIENT: 221 server.budgetdomainnameserver.nl closing connection
    2017-03-31 08:20:29 Connection: closed
    2017-03-31 08:20:29 SMTP Error: Could not connect to SMTP host.






    I checked and doublechecked the SMTP Options and they are still the same as in my Cpanel:

    SMTP Host localhost
    SMTP Port 25
    Encryption No encryption (There is also the option for SSL and TLS encryption)
    Authentication Yes: Use SMTP authentication.
    Username I used my email address
    Password I use my corresponding password



    Why do I get an SMTP error since the last update on my WordPress ContactForm? Can someone help me out? Thanks!
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,399
    Likes Received:
    52
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Can you check if SMTP restriction is enabled or disabled on the server. The update may have pushed it to be enabled..
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you browse to "WHM Home » Security Center » SMTP Restrictions" and verify if this feature is enabled? Also, you mentioned updating the version of cPanel. Could you let us know which version your system was updated to? You can check with a command such as:

    Code:
    cat /usr/local/cpanel/version
    Thank you.
     
Loading...

Share This Page