Email From To Questions

arksalot

Registered
Apr 10, 2013
3
0
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 [email protected] or @testdomain.com.

*If the FROM address has been mentioned as [email protected] then the TO address compulsorily needs to be mentioned as [email protected]

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 [email protected] , your TO email address has to be @testdomain.com
Can somebody provide some tips how we could estabish this scenario ? :(

Regards,
Arun Kurian
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.