All Products 
Username / Customer#
Password
Log In
 Hi,  |  Log Out
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

PHP content

Viewing post 1 to 2 (2 total posts)
Profile picture of SevL

sevl said 1 year ago:

Hi, I’m trying to use a php script to send an email to myself. The script works on other hosting sites but when i ported it over to goDaddy hosting, it didnt seem to work. Any help/ideas on this? it says PHP 5 is enabled. Thanks.

Profile picture of Joe 64

GoDaddy Expert Joe 64 said 1 year ago:

@sevl:

For security concerns, PHP mail functions a bit differently in our shared hosting. You cannot connect to an external SMTP server, you must use our server of relay-hosting.secureserver.net on port 25 (do not use a username or password).
If the FROM address in the header appears to be an address not hosted by us (i.e. Gmail, Yahoo!, Hotmail, etc.), our system will block these messages (otherwise it would appear as if our server was spoofing these other mail servers, which could get us blacklisted). You’ll want to define the FROM address as being an address hosted by us, or don’t define one at all (it’ll arrive with the FROM address as being an address from our hosting relay server).

If you’re trying to set any PHP5 settings, make sure it is in a file called php5.ini (php.ini will only set changes to PHP4 in our hosting).

We also provide a couple of form mail scripts you can use:

http://support.godaddy.com/help/article/510

-Joe

Add a reply:

You will auto join this group when you reply to this topic.

When posting about a technical issue, please be sure to include as many details as possible, such as your domain name, related URLs and other pertinent information. This consideration will allow us to better understand the situation and quickly assist you.