Fix unencrypted delivery arguments
When falling back to unencrypted mail delivery, do not pass sender information to SendFrom.call method.
This commit is contained in:
parent
401f67844a
commit
fccabc083c
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class MailEncryptionProxy:
|
|||
def _send_unencrypted(self, operation, message, envelope, send: xport.SendFrom):
|
||||
keep = KeepIntact(operation.recipients())
|
||||
new_message = keep.perform(message)
|
||||
send(new_message, operation.recipients(), envelope.mail_from)
|
||||
send(new_message, operation.recipients())
|
||||
|
||||
def _beginning(self, e: Envelope) -> bytes:
|
||||
double_eol_pos = e.original_content.find(DOUBLE_EOL_BYTES)
|
||||
|
|
Loading…
Reference in a new issue