Skip to content

Commit

Permalink
client: allow manual Hello after Reset
Browse files Browse the repository at this point in the history
  • Loading branch information
sapmli authored and emersion committed Sep 7, 2024
1 parent 274020d commit e764d71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,11 @@ func (c *Client) Reset() error {
if _, _, err := c.cmd(250, "RSET"); err != nil {
return err
}

// allow custom HELLO again
c.didHello = false
c.helloError = nil

c.rcpts = nil
return nil
}
Expand Down

0 comments on commit e764d71

Please sign in to comment.