diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-10-15 15:46:53 +0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-10-15 15:46:58 +0200 |
commit | 160520dbdec17250a74d5f87174cacb3f72eae26 (patch) | |
tree | 8ded99e1dc73bc4c277061b335633511eaa49b35 /service/pixelated/adapter | |
parent | b17bba7c89bf495ec882e5beebe97859dbedf094 (diff) |
Extracting features controller
Diffstat (limited to 'service/pixelated/adapter')
-rw-r--r-- | service/pixelated/adapter/pixelated_mail.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/pixelated/adapter/pixelated_mail.py b/service/pixelated/adapter/pixelated_mail.py index 6be2e5bf..6ebcc089 100644 --- a/service/pixelated/adapter/pixelated_mail.py +++ b/service/pixelated/adapter/pixelated_mail.py @@ -26,6 +26,7 @@ from pycryptopp.hash import sha256 class InputMail: + FROM_EMAIL_ADDRESS = None def __init__(self): self._raw_message = None @@ -141,7 +142,7 @@ class InputMail: def to_smtp_format(self): mime_multipart = self.to_mime_multipart() - mime_multipart['From'] = PixelatedMail.from_email_address + mime_multipart['From'] = InputMail.FROM_EMAIL_ADDRESS return mime_multipart.as_string() @staticmethod |