Karta.SMTP.Limits (Karta v1.0.0)

Per-listener protocol limits. Timeouts live in the listener.

Summary

Functions

The largest message the listeners take by default (25 MiB); the API takes as much.

Types

t()

@type t() :: %Karta.SMTP.Limits{
  max_auth_failures: term(),
  max_errors: term(),
  max_line_length: term(),
  max_message_size: term(),
  max_recipients: term(),
  max_rejections: term()
}

Functions

default_max_message_size()

@spec default_max_message_size() :: pos_integer()

The largest message the listeners take by default (25 MiB); the API takes as much.