mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:04:11 +08:00
632942e697
There is a site setting reply_by_email_enabled which when combined with reply_by_email_address creates a Reply-To header in emails in the format "test+%{reply_key}@test.com" along with a PostReplyKey record, so when replying Discourse knows where to route the reply.
However this conflicts with the IMAP implementation. Since we are sending the email for a group via SMTP and from their actual email account, we want all replys to go to that email account as well so the IMAP sync job can pick them up and put them in the correct place. So if the group has IMAP enabled and configured, then the reply-to header will be correct.
This PR also makes a further fix to
|
||
---|---|---|
.. | ||
admin_confirmation_mailer.rb | ||
download_backup_mailer.rb | ||
group_smtp_mailer.rb | ||
invite_mailer.rb | ||
rejection_mailer.rb | ||
subscription_mailer.rb | ||
test_mailer.rb | ||
user_notifications.rb | ||
version_mailer.rb |