Skip to content

Commit

Permalink
Fix MAIL after STARTTLS causing panic
Browse files Browse the repository at this point in the history
  • Loading branch information
foxcpp committed Jan 19, 2022
1 parent 30169ac commit 1c322d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ func (c *Conn) handleStartTLS() {
session.Logout()
c.SetSession(nil)
}
c.helo = ""
c.didAuth = false
c.reset()
}
Expand Down

0 comments on commit 1c322d2

Please sign in to comment.