Smtp interface
属性
| enabled | 启用此选项以允许 Grafana 发送电子邮件。 默认值为 false |
| from |
发送电子邮件时使用的地址 https://pkg.go.dev/net/mail#Address |
| from |
发送电子邮件时要使用的名称。 默认值为“Azure 托管 Grafana 通知”https://pkg.go.dev/net/mail#Address |
| host | 具有端口的 SMTP 服务器主机名,例如 test.email.net:587 |
| password | SMTP 身份验证的密码。如果密码包含 # 或 ;,则必须用三引号包装它 |
| skip |
验证 SMTP 服务器的 SSL。 默认值为 false https://pkg.go.dev/crypto/tls#Config |
| start |
SMTP 配置 https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy 的 StartTLSPolicy 设置 |
| user | SMTP 身份验证的用户 |
属性详细信息
enabled
启用此选项以允许 Grafana 发送电子邮件。 默认值为 false
enabled?: boolean
属性值
boolean
fromAddress
fromName
发送电子邮件时要使用的名称。 默认值为“Azure 托管 Grafana 通知”https://pkg.go.dev/net/mail#Address
fromName?: string
属性值
string
host
具有端口的 SMTP 服务器主机名,例如 test.email.net:587
host?: string
属性值
string
password
SMTP 身份验证的密码。如果密码包含 # 或 ;,则必须用三引号包装它
password?: string
属性值
string
skipVerify
startTLSPolicy
SMTP 配置 https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy 的 StartTLSPolicy 设置
startTLSPolicy?: string
属性值
string
user
SMTP 身份验证的用户
user?: string
属性值
string