mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 16:31:09 +08:00
added 'X-Auto-Response-Suppress' email header (props to elijah)
This commit is contained in:
@ -139,6 +139,9 @@ module Email
|
||||
result['X-Discourse-Post-Id'] = @opts[:post_id].to_s if @opts[:post_id]
|
||||
result['X-Discourse-Topic-Id'] = @opts[:topic_id].to_s if @opts[:topic_id]
|
||||
|
||||
# please, don't send us automatic responses...
|
||||
result['X-Auto-Response-Suppress'] = 'All'
|
||||
|
||||
if allow_reply_by_email?
|
||||
result['X-Discourse-Reply-Key'] = reply_key
|
||||
result['Reply-To'] = reply_by_email_address
|
||||
|
Reference in New Issue
Block a user