Skip to content

Commit

Permalink
Merge pull request #1591 from ckressibucher/bugfix-980-smtp-auth
Browse files Browse the repository at this point in the history
FIX "PLAIN" auth during notification via smtp-over-tls on port 465
  • Loading branch information
mxinden authored Nov 22, 2018
2 parents 2026e4a + 352b2ae commit 96fce3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notify/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 96fce3e

Please sign in to comment.