smtp

smtp #

CategoryScope
Generalpipeline

Configuration #

FieldTypeDefaultDescription
dial_timeout_in_secondsint30Connection establishment timeout, in seconds.
message_fieldparam.ParaKey“messages”Context key holding the message batch.
variable_start_tagstring“$[[”Opening delimiter of template variables.
variable_end_tagstring“]]”Closing delimiter of template variables.
variablesmapVariables injected into the script or template.
serversmap[string]*ServerConfigServer addresses (host:port).
templatesmap[string]*TemplateTemplates applied when rendering output.

Example #

processor:
  - smtp:
      dial_timeout_in_seconds: 10
      message_field: "message_field"
      variable_start_tag: "variable_start_tag"
      variable_end_tag: "variable_end_tag"
      variables: []
Edit Edit this page