mirror of
https://github.com/1f349/lotus.git
synced 2024-12-22 08:04:06 +00:00
Forgot to call run
This commit is contained in:
parent
37b2e555f6
commit
34244834b8
@ -31,5 +31,10 @@ func (s *Smtp) Send(mail *Mail) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return inPipe.Close()
|
err = inPipe.Close()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return sendMail.Run()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user