The relay server you need to use in your code depends on the type of hosting you use, as well as the type of script generating the email messages. For more information, see What type of hosting account do I have?
Use relay-hosting.secureserver.net
unless:
- You use PHP script and the
mail()
function.
- You use Perl script and the
/usr/lib/sendmail
binary.
In those cases, you do not need to specify a relay server.
Use localhost
unless:
- You use PHP script and the
mail()
function.
- You use Perl script and the
/usr/lib/sendmail
binary.
In those cases, you do not need to specify a relay server.
Use relay-hosting.secureserver.net
unless you use PHP script and the mail()
function, in which case, you do not need to specify a relay server.
Use relay-hosting.secureserver.net
unless:
- You use PHP script and the
mail()
function.
- You use Perl script and the
/usr/lib/sendmail
binary.