Skip to content

Commit

Permalink
smtp.go: expectCode correction for RCPT for match 25x return code
Browse files Browse the repository at this point in the history
  • Loading branch information
xhit committed Oct 16, 2019
1 parent 925a4f0 commit f6520c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smtp.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (c *smtpClient) rcpt(to string) error {
if err := validateLine(to); err != nil {
return err
}
_, _, err := c.cmd(250, "RCPT TO:<%s>", to)
_, _, err := c.cmd(25, "RCPT TO:<%s>", to)
return err
}

Expand Down

0 comments on commit f6520c2

Please sign in to comment.