mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
FIX: don't use 'Return-Path' header to determine whether the email was auto generated
This commit is contained in:
@ -92,7 +92,6 @@ module Email
|
||||
end
|
||||
|
||||
def is_auto_generated?
|
||||
@mail.return_path.blank? ||
|
||||
@mail[:precedence].to_s[/list|junk|bulk|auto_reply/] ||
|
||||
@mail.header.to_s[/auto-(submitted|replied|generated)/]
|
||||
end
|
||||
|
Reference in New Issue
Block a user