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:
commit
96fce3e8ab
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue