mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: don't use 'Return-Path' header to determine whether the email was auto generated
This commit is contained in:
parent
ce8c2d34d7
commit
27aaed0aa5
3 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue