Merge pull request #1591 from ckressibucher/bugfix-980-smtp-auth

FIX "PLAIN" auth during notification via smtp-over-tls on port 465
This commit is contained in:
Max Inden 2018-11-22 11:54:54 +01:00 committed by GitHub
commit 96fce3e8ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ func (n *Email) Notify(ctx context.Context, as ...*types.Alert) (bool, error) {
if err != nil {
return true, err
}
c, err = smtp.NewClient(conn, n.conf.Smarthost)
c, err = smtp.NewClient(conn, host)
if err != nil {
return true, err
}