fix(notifier): remove SMTPS warning (#2200)
Removes a warning about SMTPS when using port 465 and replaces it with info about SUBMISSIONS.pull/2172/head^2
parent
d49f2908e0
commit
5ed0636f77
|
@ -193,7 +193,7 @@ func (n *SMTPNotifier) dial() error {
|
||||||
logger.Debugf("Notifier SMTP client attempting connection to %s", n.address)
|
logger.Debugf("Notifier SMTP client attempting connection to %s", n.address)
|
||||||
|
|
||||||
if n.port == 465 {
|
if n.port == 465 {
|
||||||
logger.Warnf("Notifier SMTP client configured to connect to a SMTPS server. It's highly recommended you use a non SMTPS port and STARTTLS instead of SMTPS, as the protocol is long deprecated.")
|
logger.Infof("Notifier SMTP client using submissions port 465. Make sure the mail server you are connecting to is configured for submissions and not SMTPS.")
|
||||||
|
|
||||||
conn, err := tls.Dial("tcp", n.address, n.tlsConfig)
|
conn, err := tls.Dial("tcp", n.address, n.tlsConfig)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue