Skip to content

Commit 107b1ff

Browse files
committed
Change email copy settings. Commit ready to merge.
- Legacy-Id: 19497
1 parent 6d74a83 commit 107b1ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ietf/utils/mail.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def send_mail_mime(request, to, frm, subject, msg, cc=None, extra=None, toUser=F
390390
try:
391391
copy_to = settings.EMAIL_COPY_TO
392392
except AttributeError:
393-
copy_to = "ietf.tracker.archive+%s@gmail.com" % settings.SERVER_MODE
393+
copy_to = None
394394
if copy_to and (copy or not production) and not (test_mode or debugging): # if we're running automated tests, this copy is just annoying
395395
if bcc:
396396
msg['X-Tracker-Bcc']=bcc
@@ -575,7 +575,7 @@ def send_error_to_secretariat(msg):
575575
try:
576576
copy_to = settings.EMAIL_COPY_TO
577577
except AttributeError:
578-
copy_to = "ietf.tracker.archive+%s@gmail.com" % settings.SERVER_MODE
578+
copy_to = None
579579
if copy_to and not test_mode and not debugging: # if we're running automated tests, this copy is just annoying
580580
copy_email(msg, copy_to,originalBcc=None)
581581
except smtplib.SMTPException:

0 commit comments

Comments
 (0)