You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ietf/utils/mail.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,8 @@ def on_behalf_of(frm):
191
191
name, addr=parseaddr(frm)
192
192
domain=addr.rsplit('@', 1)[-1]
193
193
ifdomaininsettings.UTILS_FROM_EMAIL_DOMAINS:
194
-
raiseValueError("Using send_mail_on_behalf_of() with an address (%s) in %s is misleading. Please use send_mail()"% (addr, settings.UTILS_FROM_EMAIL_DOMAINS))
0 commit comments