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.

Issue sending mails through 3rd party

Discussion in 'E-mail Discussions' started by gxHL, Jul 5, 2016.

  1. gxHL

    gxHL Registered

    Joined:
    Mar 25, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Hi I would like to use 3rd party SMTP settings to send emails from my app.
    But for some reason I cannot use TLS in my app to send the emails.
    I tried couple services which include Amazon SES, Sendinblue and Sendgrid.


    These are my settings.

    SMTP Host : tls://smtp.sendgrid.net
    SMTP User : myusername
    SMTP Pass : mypass
    SMTP Port : 587 tried also with 25, 2525 and SSL 465 with (ssl://smtp.sendgrid.net)

    I have searched through the forums and couldn't find answers.
    I read a lot of references about the firewall. I have to mention that the installation is default by my hosting company to my VPS so I didn't installed any and I don't know if I have any installed.

    I am always receiving an error like this
    PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=`vmi67875.example.host' did not match expected CN=`smtp.sendgrid.net'

    PHP Notice: Error: Password not accepted from server!


    • CENTOS 7.2 x86_64 kvm – vmi67875
    • WHM 56.0 (build 24

      Any help appreciated.
     
    #1 gxHL, Jul 5, 2016
    Last edited by a moderator: Jul 5, 2016
  2. gxHL

    gxHL Registered

    Joined:
    Mar 25, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Fixed it was a configuration "SMTP Restrictions"
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page