mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:53:44 +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
|
||
---|---|---|
.. | ||
group_smtp_mailer_spec.rb | ||
invite_mailer_spec.rb | ||
rejection_mailer_spec.rb | ||
subscription_mailer_spec.rb | ||
test_mailer_spec.rb | ||
user_notifications_spec.rb | ||
version_mailer_spec.rb |