Send form mail using an SMTP relay server


  • Applies to: Shared Hosting
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: N/A
  • Applies to: VPS Hosting
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: N/A
  • Applies to: Managed WordPress Hosting
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: N/A

Overview

If you want to use your website to send form mail, like submissions to a contact us form, you'll need to connect to our mail relay server. Sending mail through other providers isn't allowed, so you'll need to use the following settings:

  • Port: 25
  • SMTP Authentication: False or none
  • SSL or Secure Connection: None
  • Server or Host: The relay server you need to use depends on the type of hosting and script you use.

NOTE:
Attempts to tamper or bypass Media Temple SMTP relays is a violation of your Terms of Service and can result in appropriate action from our administrators.

Shared Hosting

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.

VPS Hosting

Use the SMTP relay server for your region unless:

  • You use PHP script and the mail() function.

In those cases, you do not need to specify a relay server.

Managed WordPress Hosting

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.

Resources