Your Server

How do I change the SMTP Relay on a PHP Form?

I have the same site on multiple servers. On the GoDaddy servers when the PHP form is submitted it errors out. GoDaddy Tech advises that when this form is on there servers I must change the SMTP Relay to http://relay-hosting.secureserver.net/ - Apparently anything not sent there from a GoDaddy PHP will fail. I've looked through the PHP form and didn't see anyplace to change that address - Any Advice?

Public Comments

  1. Learn PHP better. If the form is sending email, the address is there - either as a literal string or in a variable. Or the HTML form may be submitting the email data to another page. You'll just have to read the code and follow it to the source of the SMTP server address.
  2. You've got the address wrong. The SMTP relay server for shared GoDaddy hosts does not take the http protocol. You simply enter relay-hosting.secureserver.net in the SMTP server box. Assuming you are using phpBB3 as your forum software, you change that setting in the admin section. http://www.phpbb.com/support/documentation/3.0/adminguide/acp_general.php#acp_client_email Be advised that GoDaddy severely limits outgoing e-mails you can send via relay; you only get a few hundred messages a day.
Powered by Yahoo! Answers