Skip to main content

SMTP

SMTP connections enable sending email notifications via SMTP servers.

Used By

FieldDescriptionScheme
fromAddress*

Email address to send from

string

host*

SMTP server hostname

string

auth

Authentication method

None | Plain | CRAMMD5 | OAuth2
encryption

Encryption method (default: Auto)

None | ExplicitTLS | ImplicitTLS | Auto
insecureTLS

Skip TLS certificate verification

boolean

password

Password for SMTP authentication

EnvVar

port

SMTP server port (default: 587)

integer

subject

Default email subject

string

toAddresses

Default recipient email addresses

string[]

username

Username for SMTP authentication

EnvVar

Example

smtp-connection.yaml
apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: email-alerts
spec:
smtp:
host: smtp.example.com
port: 587
username:
valueFrom:
secretKeyRef:
name: smtp-credentials
key: username
password:
valueFrom:
secretKeyRef:
name: smtp-credentials
key: password
fromAddress: alerts@example.com
encryption: Auto
auth: Plain

Next Steps