Skip to content

Commit

Permalink
[Email] client quit instead of close
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Jul 8, 2018
1 parent d689812 commit 2a61830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion email/email.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (e *Email) Send(m *Message) (err error) {
if err != nil {
return
}
defer c.Close()
defer c.Quit()

// Check if TLS is required
if ok, _ := c.Extension("STARTTLS"); ok {
Expand Down

0 comments on commit 2a61830

Please sign in to comment.