SMTP, the Simple Mail Transfer Protocol, is the standard protocol used to send email between mail servers. It defines how a message is handed off, which commands are used, and how headers and body content are separated. In practice, SMTP is the transport layer that makes outbound email delivery work.
SMTP matters in cyber security because it treats certain characters as protocol control, not plain text. The line break sequence CRLF marks the end of a header line and the start of the message body, so unsafe user input can change how an email is parsed. Attackers abuse this in CRLF injection to add spoofed headers, alter recipients, or corrupt message structure. Defenders reduce risk by using structured mail APIs, sanitizing user-controlled fields, and making sure validated data is never concatenated directly into SMTP commands or headers.


