Forgot to call run

This commit is contained in:
Melon 2023-08-23 21:55:07 +01:00
parent 37b2e555f6
commit 34244834b8
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -31,5 +31,10 @@ func (s *Smtp) Send(mail *Mail) error {
if err != nil {
return err
}
return inPipe.Close()
err = inPipe.Close()
if err != nil {
return err
}
return sendMail.Run()
}