← Glossary

What is TLS / STARTTLS?

Encryption of the SMTP connection between mail servers.

How it works in practice

STARTTLS upgrades a plain SMTP connection to an encrypted one. Gmail requires TLS for bulk senders and shows the TLS status of every message, so a sending service that connects without it is a deliverability problem DNS records can't reveal.

What STARTTLS does

SMTP begins in plain text. If both servers support it, the sender issues the STARTTLS command and the connection is upgraded to an encrypted one before any message content is sent. This is opportunistic: if the upgrade fails, many servers carry on in plain text, which is why MTA-STS exists.

Why it matters to deliverability

Gmail shows a red open padlock when a message arrives without TLS, and Gmail and Yahoo require bulk senders to use TLS. A sending server that cannot negotiate TLS, or presents an invalid certificate, will see more mail deferred or flagged. Your platform normally handles this, but a self-hosted server must have it configured.

Checking and fixing it

Test your server with an SMTP testing tool, or read the Received headers of a delivered message, which show whether TLS was used. Install a valid certificate for the server's hostname, enable STARTTLS in the mail server, and keep to supported versions of TLS (1.2 and 1.3).

The common mistake

Verifying SPF, DKIM and DMARC and assuming the connection is encrypted too.

Frequently asked questions

Is STARTTLS the same as TLS?

STARTTLS is the command that upgrades a plain SMTP connection to TLS. The encryption itself is TLS.

Does TLS authenticate my mail?

No. It encrypts the connection between servers. Authentication is SPF, DKIM and DMARC.

Do I need a certificate for my sending server?

Yes, a valid one for the server's hostname if you run your own server.

Check it yourself

Related terms

Not sure whether this is what's hurting your inbox placement? A free deliverability review finds the real cause.

How we help: Consulting · Private infrastructure · Managed mailboxes · Monthly support