Skip to main content

Called Mail() without being connected

Comments

4 comments

  • GOT
    You might want to check to see if the outgoing mail port you are using is open in your firewall, and if you are trying to use port 25, you might use a different one that google supports.
    0
  • HKUser
    You might want to check to see if the outgoing mail port you are using is open in your firewall, and if you are trying to use port 25, you might use a different one that google supports.

    I cannot find blocking of ports in CPanel.
    0
  • GOT
    Look in WHM in plugins and see if you have ConfigServer Firewall installed.
    0
  • cPanelLauren
    You wouldn't be able to find that in cPanel, as noted by @GOT you need to ensure the ports you have listed in PHPMailer are open in the firewall, if you're using CSF you can do this through the UI in WHM otherwise you'll need to check iptables via the CLI. You might also ensure that the protocol you've selected in phpmailer matches the port you're using. For example if you're using port 465 for SMTP the protocol should be SSL instead of TLS
    0

Please sign in to leave a comment.