| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() | 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. |
| |