@helperhaps wrote:
branch: test-passed
Recently, I installed a plugin. Discourse updated to 1.6beta4 from beta1 when i rebuild docker. And then, user can not get their emails.
Opened /admin/email/skipped in chrome, i got
[Sender] 553 Mail from must equal authorized user
and in the lib/email/sender.rb:119
if SiteSetting.reply_by_email_address.present? && SiteSetting.reply_by_email_address["+"] email_log.bounce_key = SecureRandom.hex # WARNING: RFC claims you can not set the Return Path header, this is 100% correct # however Rails has special handling for this header and ends up using this value # as the Envelope From address so stuff works as expected @message.header[:return_path] = SiteSetting.reply_by_email_address.sub("%{reply_key}", "verp-#{email_log.bounce_key}") end
remove the code listed, email works just well. So what this line use for? what can i do with this?
Posts: 5
Participants: 2