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 To Questions

Discussion in 'E-mail Discussion' started by arksalot, Aug 25, 2013.

  1. arksalot

    arksalot Registered

    Apr 10, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    We have a new headache :) . We are planing to make some changes for mails being sent via scripts.

    Following are our requirements :

    * Either the FROM or TO address needs to be hosted on the server

    For example, if your domain name is, then the FROM or TO address that you need to use in the script is or

    *If the FROM address has been mentioned as primary-username@server-name then the TO address compulsorily needs to be mentioned as anything@domain.tld

    Let's consider the following scenario :

    Domain name :
    Primary User : testdo
    Server name : server

    If the FROM field in your script is mentioned as , your TO email address has to be
    Can somebody provide some tips how we could estabish this scenario ? :(

    Arun Kurian
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Does this script use SMTP authentication for sending email? If so, you can simply create an email account via cPanel and then use those login details within the PHP script configuration for sending email.

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

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