Keep your bounce rate under 3%. Verify your email list with catch-all email verifier Giggal.ai

Glossary · Email basics

What is an SMTP relay?

The short answer

An SMTP relay is a mail server that takes an email from you and passes it along to the recipient's mail server. You hand the message to the relay, and the relay does the delivering. Websites, apps and email tools use an SMTP relay so they do not have to deliver email themselves.

Also called: SMTP relay service, SMTP relay server, mail relay, email relay

By · Updated · 4 min read

SMTP relay: what to remember

  • SMTP is the set of rules for sending email. An SMTP relay is a server that passes email on for you.
  • Apps and websites use an SMTP relay to send things like receipts and password resets.
  • The usual SMTP relay port is 587. Port 465 also works. Port 25 is for server-to-server mail and is often blocked.
  • Most SMTP relay services do not allow cold email. Cold email is normally sent from real mailboxes on Google Workspace or Microsoft 365.

What does SMTP relay mean?

Let’s take the two words one at a time.

  • SMTP stands for Simple Mail Transfer Protocol. It is the set of rules computers use to send email. Reading email is a different job, done by IMAP.
  • Relay means to pass something along, like runners passing a baton in a relay race.

So an SMTP relay is a mail server that takes your email and passes it along to where it needs to go.

Think of a courier company. You do not drive your parcel to the customer’s house. You hand it to the courier, and the courier gets it there. An SMTP relay is the courier for your email.

How an SMTP relay works

  1. Your app, website or email tool writes an email.
  2. It connects to the SMTP relay and signs in with a username and password, or a key.
  3. It hands the email to the SMTP relay.
  4. The SMTP relay looks up the recipient’s MX record to find their mail server.
  5. The SMTP relay delivers the email to that mail server.
  6. If the delivery fails, the SMTP relay tries again later or reports a bounce.

You only did step 1 to 3. The SMTP relay did the hard part.

An SMTP relay example

An online shop sells shoes. When a customer buys a pair, the shop’s website needs to send a receipt.

The website is not a mail server, and building one is hard. So the shop signs up for an SMTP relay service and puts four details into the website’s settings:

SMTP relay host:  smtp.example.com
Port:             587
Username:         shop-account
Password:         ********

Now every receipt is handed to the SMTP relay, which delivers it to the customer’s inbox. The shop never has to think about mail servers.

Other everyday SMTP relay examples: an office scanner that emails scans, a contact form on a website, and an app that sends password reset emails.

SMTP relay ports

A port is like a numbered door on a server. Different doors are used for different jobs.

Port What it is used for
587 The standard port for sending through an SMTP relay. Use this one first.
465 An older encrypted port that is still widely supported.
25 Used when one mail server talks to another. Often blocked on home and cloud networks.
2525 A backup some SMTP relay services offer when 587 is blocked.

SMTP relay vs SMTP server

These names overlap, which causes confusion.

  • An SMTP server is any server that sends email using SMTP. Your Gmail or Outlook mailbox sends through one.
  • An SMTP relay is an SMTP server used to pass on email for someone else: an app, a website, a device or another mail server.

In short: every SMTP relay is an SMTP server. People say “relay” when the server is forwarding email on behalf of other systems.

Is an SMTP relay good for cold email?

This is where many people take a wrong turn. SMTP relay services look perfect for sending a lot of email, so it seems natural to use one for cold email. In most cases it is a mistake.

  • Their rules do not allow it. Well-known SMTP relay services are built for email the reader asked for, such as receipts, alerts and newsletters. Cold email breaks their terms, and accounts are closed for it.
  • You share a reputation. On a relay, your email leaves from IP addresses used by many senders. If you send from your own relay or a dedicated IP address instead, you take on jobs like the PTR record and building a reputation from zero.
  • Cold email should look like one person writing to another. The most natural way to do that is to send from a real mailbox, the same kind people use for everyday work.

That is why most cold email is sent from individual Google Workspace inboxes and Microsoft 365 inboxes. Each inbox sends a small number of emails per day, about 30, and you add more inboxes to send more. PureMail sells these inboxes on your own domains and connects them to your sending tool for you.

Common SMTP relay problems

  • “Relay access denied.” The SMTP relay does not know who you are. Check the username, password and that your sending address is allowed.
  • Connection timed out. The port is probably blocked. Try 587 instead of 25.
  • Emails land in spam. Your domain is missing the SPF or DKIM records that name the SMTP relay as an allowed sender.
  • Running an open relay by accident. A relay that accepts email from anyone will be found and abused by spammers within hours.

FAQ

SMTP relay: questions people ask.

01

What does SMTP relay mean?

SMTP stands for Simple Mail Transfer Protocol, the set of rules used to send email. Relay means to pass something on. So an SMTP relay is a server that receives your email and passes it on to the mail server of the person you are writing to.

02

What is the difference between an SMTP relay and an SMTP server?

Every SMTP relay is an SMTP server, but the words are used for different jobs. People say SMTP server for the server that sends email for a mailbox, such as smtp.gmail.com. They say SMTP relay for a server or service that forwards email on behalf of other systems, such as a website, an app or an office printer.

03

Which port does an SMTP relay use?

Port 587 is the standard port for sending email through an SMTP relay and is the one to try first. Port 465 is also common. Port 25 is used between mail servers and is blocked by many internet and cloud providers. Some services also offer port 2525 as a backup.

04

Can I use an SMTP relay for cold email?

Usually not. Popular SMTP relay services are built for email people asked for, such as receipts and newsletters, and their rules do not allow cold email. Accounts that send it are often closed. Cold email is normally sent from individual Google Workspace or Microsoft 365 mailboxes.

05

What is an open SMTP relay?

An open SMTP relay is a mail server that lets anyone send email through it without signing in. Spammers look for these and abuse them, so open relays are quickly blocked everywhere. A properly set up SMTP relay only accepts email from users or systems it knows.

Still have a question? support@puremail.ai · contact us

Your next reply is one order away.

Google Workspace and Microsoft 365 inboxes from $2.90 a month, set up and connected to your sequencer today.