你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Smtp interface

属性

enabled

启用此选项以允许 Grafana 发送电子邮件。 默认值为 false

fromAddress

发送电子邮件时使用的地址 https://pkg.go.dev/net/mail#Address

fromName

发送电子邮件时要使用的名称。 默认值为“Azure 托管 Grafana 通知”https://pkg.go.dev/net/mail#Address

host

具有端口的 SMTP 服务器主机名,例如 test.email.net:587

password

SMTP 身份验证的密码。如果密码包含 # 或 ;,则必须用三引号包装它

skipVerify

验证 SMTP 服务器的 SSL。 默认值为 false https://pkg.go.dev/crypto/tls#Config

startTLSPolicy

SMTP 配置 https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy 的 StartTLSPolicy 设置

user

SMTP 身份验证的用户

属性详细信息

enabled

启用此选项以允许 Grafana 发送电子邮件。 默认值为 false

enabled?: boolean

属性值

boolean

fromAddress

发送电子邮件时使用的地址 https://pkg.go.dev/net/mail#Address

fromAddress?: string

属性值

string

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

验证 SMTP 服务器的 SSL。 默认值为 false https://pkg.go.dev/crypto/tls#Config

skipVerify?: boolean

属性值

boolean

startTLSPolicy

SMTP 配置 https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy 的 StartTLSPolicy 设置

startTLSPolicy?: string

属性值

string

user

SMTP 身份验证的用户

user?: string

属性值

string