Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinnrry committed Nov 20, 2023
1 parent bc434b7 commit a317a98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/smtp_server/read_content.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ func (s *Session) Data(r io.Reader) error {
}
if email.From.EmailAddress != from.EmailAddress {
// 协议中的from和邮件内容中的from不匹配,当成垃圾邮件处理
log.WithContext(s.Ctx).Infof("垃圾邮件,拒信")
return nil
//log.WithContext(s.Ctx).Infof("垃圾邮件,拒信")
//return nil
}
}

Expand Down

0 comments on commit a317a98

Please sign in to comment.