You've already forked drone-email
fix(mail): fmt address correctly
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 10s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 34s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 24s
Release / Release application (push) Successful in 2m21s
Release / Upload Images to docker.io (push) Failing after 25s
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 10s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 34s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 24s
Release / Release application (push) Successful in 2m21s
Release / Upload Images to docker.io (push) Failing after 25s
This commit is contained in:
@@ -110,7 +110,7 @@ func (p *Plugin) sendMail(recipient string, r io.Reader) error {
|
||||
// log.Printf("START_TLS: %v", p.smtpSettings.StartTLS)
|
||||
// log.Printf("INSECURE: %v", p.smtpSettings.TLSInsecureSkipVerify)
|
||||
|
||||
address := fmt.Sprintf("%s:%d", p.smtpSettings.Host, p.smtpSettings.Port)
|
||||
address := fmt.Sprintf("%v:%v", p.smtpSettings.Host, p.smtpSettings.Port)
|
||||
tcpConn, err := net.Dial("tcp", address)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to dial a connection to %s: %w", address, err)
|
||||
|
||||
Reference in New Issue
Block a user