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

    Joined:
    Apr 10, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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 testdomain.com, then the FROM or TO address that you need to use in the script is abc@testdomain.com or @testdomain.com.

    *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 : testdomain.com
    Primary User : testdo
    Server name : server cp-00.webhostbox.net.

    If the FROM field in your script is mentioned as testdo@cp-00.webhostbox.net , your TO email address has to be @testdomain.com
    Can somebody provide some tips how we could estabish this scenario ? :(

    Regards,
    Arun Kurian
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    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.
     
Loading...

Share This Page