Skip to content
Claim your free business email

What Is SMTP? How Email Actually Gets Delivered

A short video on how SMTP carries a message from your app to the inbox, step by step, and what the reply codes along the way mean.

What Is SMTP? How Email Actually Gets Delivered (89 seconds). The player loads only when you press play.

longPublished Rasket

You click send and a second later it's in someone's inbox. Here's how SMTP moves it there, step by step, plus what the reply codes mean and which settings to use.

Chapters

  1. 0:00What SMTP is
  2. 0:17Submission and relay
  3. 0:35What 250 really means
  4. 0:51IMAP and reply codes
  5. 1:06Security and settings

Transcript

You click send, and a second later the email is in someone's inbox. The rules that move it there are called SMTP.

SMTP means Simple Mail Transfer Protocol. It's how mail servers hand an email to each other, like post offices passing a letter along.

Step one is submission. Your app logs in to its own outgoing server and hands over the email, on port 587, or 465.

Step two is relay. Your server looks up the MX record in the recipient's DNS, to find their mail server, and passes the email over on port 25.

At every handover, the server replies with a code. Two fifty means it accepted the email. It does not mean the inbox.

Step three happens after that. The receiving server runs its spam filters and picks a folder: the inbox, spam, or a tab.

Step four: the recipient's mail app fetches the email with IMAP, and they finally read it.

If a reply starts with 4, it means not now, and your server tries again later. If it starts with 5, it means no, and the email bounces.

SMTP never checks who really sent an email. So set up SPF, DKIM and DMARC on your domain before you send.

And when an app asks for SMTP settings, use port 465, and an API key from your provider, not your normal password.

Learn more at www.rasket.com.

The guide this video belongs toWhat is SMTP? (2026 Full Guide)Read the full guide

More videos

All videos

Send email that earns its place

Authenticated mail, one-click unsubscribe, and campaigns measured apart from your transactional mail, set up in minutes.