mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat(alert/report): Added optional CC and BCC fields for email notifi… (#29088)
Co-authored-by: Sivarajan Narayanan <sivarajannarayanan@Sivarajans-MacBook-Pro.local> Co-authored-by: Sivarajan Narayanan <narayanan_sivarajan@apple.com>
This commit is contained in:
@@ -711,7 +711,7 @@ def send_email_smtp( # pylint: disable=invalid-name,too-many-arguments,too-many
|
||||
recipients = smtp_mail_to
|
||||
if cc:
|
||||
smtp_mail_cc = get_email_address_list(cc)
|
||||
msg["CC"] = ", ".join(smtp_mail_cc)
|
||||
msg["Cc"] = ", ".join(smtp_mail_cc)
|
||||
recipients = recipients + smtp_mail_cc
|
||||
|
||||
smtp_mail_bcc = []
|
||||
|
||||
Reference in New Issue
Block a user