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.

Email From To Questions

Discussion in 'E-mail Discussions' 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 Forums Analyst
    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.

Share This Page