mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-09 15:32:54 +01:00
Make GoLinter happy
This commit is contained in:
parent
54da622bd1
commit
ebd8f94c1f
1 changed files with 0 additions and 1 deletions
1
msg.go
1
msg.go
|
@ -485,7 +485,6 @@ func (m *Msg) WriteToSendmailWithContext(ctx context.Context, sp string, a ...st
|
|||
return fmt.Errorf("could not start sendmail execution: %w", err)
|
||||
}
|
||||
_, err = m.Write(si)
|
||||
_, err = si.Write([]byte(".\r\n"))
|
||||
if err != nil {
|
||||
_ = si.Close()
|
||||
return fmt.Errorf("failed to write mail to buffer: %w", err)
|
||||
|
|
Loading…
Reference in a new issue