Skip to main content

Setup email server host name on cPanel

Comments

4 comments

  • kodeslogic
    If somehost.somedomain.com is a registered DNS host and points correctly to the server IP from which you wish to use your email service then you can use somehost.somedomain.com as Incoming Server and Outgoing Server, It should connect. Give a try. Make sure SSL is installed for somehost.somedomain.com as you are connecting to secure ports.
    0
  • cPanelLauren
    The system picks the most secure domain to display here. So if the hostname of the server has an SSL and the domain you're referencing doesn't the hostname is selected.
    0
  • kadarcoder
    I tried to connect to somehost.somedomain.com (since mail.somehost.somedomain.com doesn't work) via SMTP port 587 using PHPMailer, and it seems to connect only without TLS. However, I could not send mail via PHPMailer, with 'Error: Could not authenticate.' I'm sure the username and password are correct. In the case of Gmail, I had to change "Allow less secure apps: ON" in Gmail to pass the PHP Mailer authentication problem. Is there something in cPanel that I can set to pass the PHPMailer authentication process? Also, is there a cPanel setting to enable TLS for SMTP? Thanks!
    0
  • cPRex Jurassic Moderator
    Hey there! cPanel has TLS enabled for SMTP by default over port 465, so there isn't anything special that you need to configure to make that work. Could you try using that port instead to see if that gets things working? As far as the "PHPMailer authentication process," that would just be up to the connection settings. I would expect that to connect as a valid user.
    0

Please sign in to leave a comment.