First stab at polling support for POP3S / reply by email

This commit is contained in:
Robin Ward
2013-06-13 18:11:10 -04:00
parent 4de0c58b83
commit 8acdc18bc8
19 changed files with 293 additions and 57 deletions

View File

@@ -55,6 +55,9 @@ module Email
result['List-Unsubscribe'] = "<#{template_args[:user_preferences_url]}>" if @opts[:add_unsubscribe_link]
end
result['Discourse-Post-Id'] = @opts[:post_id].to_s if @opts[:post_id]
result['Discourse-Topic-Id'] = @opts[:topic_id].to_s if @opts[:topic_id]
if allow_reply_by_email?
result['Discourse-Reply-Key'] = reply_key
result['Reply-To'] = reply_by_email_address