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!

Web config smtp connection

Discussion in 'E-mail Discussion' started by alan_76, Sep 6, 2017.

  1. alan_76

    alan_76 Registered

    Joined:
    Sep 5, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Aberdeen
    cPanel Access Level:
    Website Owner
    Hi, I’m trying to setup a contact form for a client. The contact form is using .NET and uses the webconfig smtp details to send an email. The site has the following code which works for gmail (with the appropriate settings) etc but I cant get it to work for our domain.

    <smtp>

    <network host="mail.***.com" port="587" userName="website@***.com" password="***" defaultCredentials="false"/>

    </smtp>

    Can you help me?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Do you notice any entries in /var/log/exim_mainlog when the message delivery attempt fails? Are you configuring your custom script to use SMTP authentication when sending email?

    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