diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-02 14:50:49 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-02 14:50:49 -0800 |
commit | 0c00f0025bcd15005c37df79309d33dc481f8d5e (patch) | |
tree | 6b6031c492f9f662e7535e80d36265964215de9b /cmd/ponzu/vendor/github.com/nilslice/email/email.go | |
parent | c6e95e09e9650cd17efea3e3308c4ca2b19f143a (diff) |
updating nilslice/email dep: send QUIT message to client
Diffstat (limited to 'cmd/ponzu/vendor/github.com/nilslice/email/email.go')
-rw-r--r-- | cmd/ponzu/vendor/github.com/nilslice/email/email.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/ponzu/vendor/github.com/nilslice/email/email.go b/cmd/ponzu/vendor/github.com/nilslice/email/email.go index da443d0..5826b4d 100644 --- a/cmd/ponzu/vendor/github.com/nilslice/email/email.go +++ b/cmd/ponzu/vendor/github.com/nilslice/email/email.go @@ -110,5 +110,10 @@ func send(m Message, c *smtp.Client) error { return err } + err = c.Quit() + if err != nil { + return err + } + return nil } |