SMTP

Definition

SMTP (Simple Mail Transfer Protocol) is a protocol used for sending emails across networks. It operates over TCP/IP and is responsible for the transmission of email messages from a client to a server or between servers. SMTP typically uses port 25, but secure transmission can be achieved using ports 465 or 587 with TLS encryption to protect the data in transit.

Secure Settings Example

smtp:
  server: smtp.example.com
  port: 587
  use_tls: true
  authentication:
    method: LOGIN
    username: "user@example.com"
    password: "securepassword"

Insecure Settings Example

smtp:
  server: smtp.example.com
  port: 25
  use_tls: false
  authentication:
    method: NONE