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!

Configure return path/sender in PHP mail() scripts?

Discussion in 'E-mail Discussion' started by Pete Downes, May 3, 2018.

  1. Pete Downes

    Pete Downes Registered

    Joined:
    May 3, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Website Owner
    Hi Forum

    I'm sure this is an old chestnut but I would welcome any thoughts.

    I would like to configure the return path/sender in PHP mail() scripts to avoid mail sent from the server going into spam.

    Plesk allows me to do it:
    support.plesk.com/hc/en-us/articles/115000419013-What-is-the-return-path-sender-in-PHP-mail-scripts-and-how-to-change-it

    But if my WordPress website is hosted on cPanel I cannot. Sure I could install a WordPress Plugin to send via SMTP but that seems a but drastic.


    Are cPanel and WordPress letting us down in this regard?

    Thanks
     
    #1 Pete Downes, May 3, 2018
    Last edited by a moderator: May 3, 2018
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,819
    Likes Received:
    134
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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