Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Commit b99f331

Browse files
committed
add InsecureSkyVerify to tls config
1 parent 2b82ba2 commit b99f331

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

helpers/emailservice/email.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ func Setup(conf EmailServerConfiguration, onMailSend func(err error)) error {
7777
poolSize := 4
7878

7979
auth := smtp.PlainAuth(conf.Identity, conf.Username, conf.Password, conf.Host)
80-
tlsConfig := tls.Config{ServerName: conf.Host}
80+
tlsConfig := tls.Config{
81+
ServerName: conf.Host,
82+
InsecureSkipVerify: true,
83+
}
8184
address := conf.Host + ":" + conf.Port
8285

8386
for i := 0; i < poolSize; i++ {

0 commit comments

Comments
 (0)