chore(deps): bump github.com/emersion/go-smtp from 0.16.0 to 0.18.1 (#1771)

Bumps [github.com/emersion/go-smtp](https://github.com/emersion/go-smtp) from 0.16.0 to 0.18.1.
- [Release notes](https://github.com/emersion/go-smtp/releases)
- [Commits](https://github.com/emersion/go-smtp/compare/v0.16.0...v0.18.1)

---
updated-dependencies:
- dependency-name: github.com/emersion/go-smtp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2023-11-09 05:24:58 +09:00
committed by GitHub
parent cd8f6e1b8f
commit f3f8e26ba5
3 changed files with 4 additions and 4 deletions

View File

@@ -133,7 +133,7 @@ func (e *emailSender) sendMail(smtpServerAddr, message string) (err error) {
return xerrors.Errorf("Failed to send Mail command: %w", err)
}
for _, to := range emailConf.To {
if err = c.Rcpt(to); err != nil {
if err = c.Rcpt(to, nil); err != nil {
return xerrors.Errorf("Failed to send Rcpt command: %w", err)
}
}