mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
When sending emails out via group SMTP, if we are sending them to non-staged users we want to mask those emails with BCC, just so we don't expose them to anyone we shouldn't. Staged users are ones that have likely only interacted with support via email, and will likely include other people who were CC'd on the original email to the group. Co-authored-by: Martin Brennan <martin@discourse.org>
7 lines
179 B
Ruby
Vendored
7 lines
179 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
class AddBccAddressesToEmailLog < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_column :email_logs, :bcc_addresses, :text, null: true
|
|
end
|
|
end
|