Skip to content

Commit

Permalink
readme: fix sample server for v0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iredmail authored Aug 15, 2023
1 parent 336d1ff commit b4f3805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (s *Session) Mail(from string, opts *smtp.MailOptions) error {
return nil
}

func (s *Session) Rcpt(to string) error {
func (s *Session) Rcpt(to string, opts *smtp.RcptOptions) error {
if !s.auth {
return smtp.ErrAuthRequired
}
Expand Down

0 comments on commit b4f3805

Please sign in to comment.