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

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.

Was This Article Helpful?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Glad we helped! Anything more we can do for you?
Sorry about that. Tell us what was confusing or why the solution didn’t solve your problem.