SMTP
SMTP connections enable sending email notifications via SMTP servers.
Used By
- Notifications - Send email alerts
- Notification Action - Send emails from playbooks
| Field | Description | Scheme |
|---|---|---|
fromAddress* | Email address to send from |
|
host* | SMTP server hostname |
|
auth | Authentication method | None | Plain | CRAMMD5 | OAuth2 |
encryption | Encryption method (default: Auto) | None | ExplicitTLS | ImplicitTLS | Auto |
insecureTLS | Skip TLS certificate verification |
|
password | Password for SMTP authentication | |
port | SMTP server port (default: 587) |
|
subject | Default email subject |
|
toAddresses | Default recipient email addresses | string[] |
username | Username for SMTP authentication |
Example
smtp-connection.yamlapiVersion: 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
- Email Channel Guide - Configure email notifications