Do not touch original payload in KeepIntact mode
This commit is contained in:
parent
8b5d924321
commit
e643ce7722
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class KeepIntact(MailOperation):
|
|||
def perform(self, message: Message, lmessage: LazyMessage) -> bytes:
|
||||
"""Return MESSAGE unmodified."""
|
||||
try:
|
||||
return message.as_bytes(policy=SMTPUTF8)
|
||||
return lmessage.get_original_content()
|
||||
except (IndexError, UnicodeEncodeError, ValueError) as e:
|
||||
raise MailSerialisationException(e)
|
||||
|
||||
|
|
Loading…
Reference in a new issue