Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PhpMailer SMTP Error

Discussion in 'E-mail Discussion' started by lukas4444, Oct 6, 2016.

Tags:
  1. lukas4444

    lukas4444 Registered

    Joined:
    Oct 6, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    Hello,

    since today morning, i always receive this message when sending something via PHPmailer:
    SMTP Error: Could not authenticate.

    It seems there was an update, and now it is no longer working. I am using a seperate server to connect to and sending all emails:
    $data['smtp']['host'] = '51.255.XX.XX';
    $data['smtp']['port'] = '25';
    $data['smtp']['username'] = 'XX@domain.com';
    $data['smtp']['password'] = 'password';

    However there is a time out everytime. Last time, some months ago, there has been also an update. I had to whitelist (Exim Configuratin) the other servers IP address (from which im sending) to get this to work again.

    I also checked the server (which sends emails) log file. And there is a connection:
    SMTP connection from [185.66.XX.XX]:36721 (TCP/IP connection count = 1)
    but still it is not connecting and either sending any emails.

    Also tried to disable cphulk and another server (for sending the outgoing email). I have not changed anything and this was working find for a long time. So this is 100% anything security / cpanel update related issue. Maybe someone can help me out..
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you verify if "WHM Home » Security Center » SMTP Restrictions" is enabled on this system? Also, are you using any firewall applications such as CSF? If so, check to see if the "SMTP_BLOCK" option is enabled.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice