There was an error while loading. Please reload this page.
1 parent a98366f commit be8fe26Copy full SHA for be8fe26
1 file changed
ietf/utils/mail.py
@@ -72,6 +72,9 @@ def copy_email(msg, to, toUser=False):
72
Send a copy of the given email message to the given recipient.
73
'''
74
add_headers(msg)
75
+ # Overwrite the From: header, so that the copy from a development or
76
+ # test server doesn't look like spam.
77
+ msg['From'] = settings.DEFAULT_FROM_EMAIL
78
new = MIMEMultipart()
79
# get info for first part.
80
# Mode: if it's production, then "copy of a message", otherwise
0 commit comments