Skip to content

Commit 2a61830

Browse files
committed
[Email] client quit instead of close
Signed-off-by: Vishal Rana <[email protected]>
1 parent d689812 commit 2a61830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

email/email.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func (e *Email) Send(m *Message) (err error) {
129129
if err != nil {
130130
return
131131
}
132-
defer c.Close()
132+
defer c.Quit()
133133

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

0 commit comments

Comments
 (0)