mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
prepare for PR to mainstream (tests, docs, ...)
This commit is contained in:
@@ -313,6 +313,7 @@ class DjrillBackend(BaseEmailBackend):
|
||||
return mandrill_attachment, is_embedded_image
|
||||
|
||||
def _filter_msg_dict(self, message, msg_dict):
|
||||
"""Filter message data (e.g. clear subject field, or from field)"""
|
||||
if hasattr(message, 'clear_from') and message.clear_from:
|
||||
msg_dict['from_name'] = ''
|
||||
msg_dict['from_email'] = ''
|
||||
|
||||
Reference in New Issue
Block a user