Frequently Asked Questions

What is the name of my hosting account's relay server?

Print this Article
Last Updated: March 5, 2015 12:53 PM

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?

Web/Classic (Hosting Control Panel)

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.

Linux (cPanel)

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.

Windows (Plesk)

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.

Managed WordPress

Use relay-hosting.secureserver.net unless:

  • You use PHP script and the mail() function.
  • You use Perl script and the /usr/lib/sendmail binary.