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!

Email from PHP forms issue

Discussion in 'E-mail Discussion' started by canou83, Oct 4, 2017.

  1. canou83

    canou83 Well-Known Member

    Joined:
    Jul 20, 2016
    Messages:
    77
    Likes Received:
    7
    Trophy Points:
    8
    Location:
    France
    cPanel Access Level:
    Website Owner
    Hi, so far we use SMPT connections with external email servers for sending emails (for example, account opening form ...)

    I try to use the mailing of these forms in phph mail rather when SMPT.

    Our sites are in AutoSSL.

    During my tests, I find that emails to Exchanges boxes never arrive.

    an idea ? Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Your access level shows as "Website Owner". I recommend reporting this issue to your web hosting provider so they can take a closer look, as it's possible the "SMTP Restrictions" option in enabled from Web Host Manager.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. canou83

    canou83 Well-Known Member

    Joined:
    Jul 20, 2016
    Messages:
    77
    Likes Received:
    7
    Trophy Points:
    8
    Location:
    France
    cPanel Access Level:
    Website Owner
    Hello. I am not only a prorpiétaire but also the manager and the host of my site on a VPS / OVH. I have root access in WHM.

    No SMTP Restrictions in WHM.

    Everything works correctly in SMTP (we use OVH emails servers other than VPS) but I wanted to try in PHP MAIL.

    Ec'ets in PHP mail that we have reception problems with some founrisseurq like Exchange for example that does not receive the emails generated by php mail.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you notice any output to /var/log/exim_mainlog when attempting to send the message? EX:

    Code:
    exigrep remote-smtp-server /var/log/exim_mainlog
    Also, check that you can manually connect to that remote mail server from your cPanel server over the port you have configured in the PHP script. EX:

    Code:
    telnet remote-mail-server 25
    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