Skip to content
Glossary · SMTP

MAIL FROM command

The SMTP command that opens a mail transaction and gives the envelope sender, the address that bounces and delivery reports are sent back to.

What it means

The syntax is MAIL FROM:<address>, optionally followed by extension parameters such as SIZE=, BODY=8BITMIME, RET= and ENVID= for delivery status notifications, or SMTPUTF8. The address in the brackets becomes the envelope sender. It can differ from the From header the reader sees, and for mail sent through a platform it usually does, pointing at an address where the platform processes bounces. The empty form, MAIL FROM:<>, is the null sender reserved for bounces and other notifications.

The receiving server can refuse the sender at this point, before any recipient is named, for example when the sender domain publishes a null MX (550 5.7.27). SPF checks the domain of this address, which is why the domain used here matters for authentication and, through alignment, for DMARC.

Example

MAIL FROM:<bounces+7f3a@mail.example.com> SIZE=48213 BODY=8BITMIME

On this site

Sources

What this definition rests on. The wording is ours; the facts are theirs.

All 432 terms in the glossaryThe wiki: blocklists and bounce codes

Beat · paid monitoring

A heartbeat for your email.

Beat runs every check on this site on a schedule: 41 checks, 25 blacklists and real inbox placement. The moment something breaks, it tells you what broke, why it matters, and the exact fix.

example.comWatching
  • SPFpass
  • DKIMpass
  • DMARCp=none
  • Blacklists0 of 25

Illustrative. Your domain, every few hours.

Also from us:Pulse: your own sending infrastructureConsulting: $65/hr, no retainer