What is SMTP?

SMTP (Simple Mail Transfer Protocol) is how letters are sent: from your mail program to your mail server, and from server to server until they reach the receiver.

How a letter travels

  1. Step 1

    You press Send

    Your mail program hands the letter to your outgoing mail server over SMTP, signing in with your address and its password.

  2. Step 2

    Your server finds the receiver's server

    It looks up the MX record of the receiver's domain and passes the letter to that mail server — again over SMTP.

  3. Step 3

    The receiving server checks it

    It checks SPF, DKIM and DMARC — whether your domain allows the sending server and the signature is right — then files the letter in the Inbox or in Spam.

  4. Step 4

    The receiver reads it

    Their mail program takes the letter from their server by IMAP or POP3. SMTP only carries letters; it never reads them.

SMTP settings

Outgoing server
smtp. and the provider's domain — e.g. smtp.gmail.com
Port and encryption
465 with SSL/TLS, or 587 with STARTTLS
Port 25
For servers talking to servers; most providers block it for mail programs
Sign-in
Your full address and its password — or an app password; never send without signing in

The settings of every mail service

Why letters land in spam

The receiving server trusts a letter when the domain's records are right: SPF names your sending servers, DKIM signs the letter, DMARC says what to do with failures, and the sending server has a reverse name and is on no blacklist.

Check my domain for free

Which way did a letter take?

Every server that passed a letter on writes a line into its headers. Paste them into the header analyzer to see each step, its delay and the SPF, DKIM and DMARC results.

Email header analyzer

SMTP in Stjobno Mail

Every letter goes out through the mail server of the address it is sent from, so it carries that address's signature and lands in its own Sent folder. A scheduled letter is sent by our server at its time — your computer can be off.

See it in the video lessons

Bring all your mail together