NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page VITAL! PHP: Setting SMTP relay servers during runtime?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 05-30-2007, 01:08 PM THREAD STARTER               #1 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)

VITAL! PHP: Setting SMTP relay servers during runtime?


Hello...

I have a client who has GoDaddy hosting (purchased it before I could offer alternatives) - and the mail() function does not seem to work. It can't find the SMTP server, is my guess... but no errors are displayed other than my line:

if (!mail( ... etc ... echo("ERROR"); ... etc.

So basically, all I know is the mail isn't sending.

GoDaddy support says I need to set the "relay server" to: relay-hosting.secureserver.net - but I don't know what it is or how to do that.

Any help, please? His business rests on this contact form functionality. Please don't offer suggestions, just answers.

Thanks!
-Matt
mholt is offline  
Old 05-30-2007, 01:37 PM   #2 (permalink)
NamePros Regular
 
monaco's Avatar
Join Date: Jul 2005
Location: Tucson, AZ
Posts: 689
monaco will become famous soon enough
 



Edit the php.ini file: http://us2.php.net/mail

Tell him to ask GoDaddy where php is looking for it within his home directory and put it there.
__________________
My Website | My Blog
monaco is offline  
Old 05-30-2007, 01:57 PM THREAD STARTER               #3 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Edit it during runtime? And edit what? The page you linked me to, while I appreciate it, doesn't seem to explain INI settings for, (I should have mentioned this) Linux hosting.
mholt is offline  
Old 06-01-2007, 04:06 PM   #4 (permalink)
NamePros Regular
 
monaco's Avatar
Join Date: Jul 2005
Location: Tucson, AZ
Posts: 689
monaco will become famous soon enough
 



My bad I just assumed windows hosting...no competent paid-for linux host denies access to the sendmail facility.
__________________
My Website | My Blog
monaco is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:20 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger