linting
This commit is contained in:
@@ -148,9 +148,8 @@ func NewClient(logger mlogger.Logger, l localizer.Localizer, dp domainprovider.D
|
||||
// Timeout for send the data and wait respond
|
||||
smtpServer.SendTimeout = mduration.Param2Duration(config.TimeOut, time.Second)
|
||||
|
||||
// Set TLSConfig to provide custom TLS configuration. For example,
|
||||
// to skip TLS verification (useful for testing):
|
||||
smtpServer.TLSConfig = &tls.Config{InsecureSkipVerify: true}
|
||||
// Keep certificate verification enabled.
|
||||
smtpServer.TLSConfig = &tls.Config{InsecureSkipVerify: false}
|
||||
|
||||
// SMTP client
|
||||
lg := logger.Named("client")
|
||||
|
||||
Reference in New Issue
Block a user