From 9b67dfc5c49df7663c97d5b992ae967359cbcea1 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 18 Jul 2009 16:16:13 -0400 Subject: Major be-handle-mail rewrite to make things more modular. Added Command and Message classes, and use new flexibility in send_pgp_mime.py. --- interfaces/email/interactive/send_pgp_mime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interfaces/email/interactive/send_pgp_mime.py') diff --git a/interfaces/email/interactive/send_pgp_mime.py b/interfaces/email/interactive/send_pgp_mime.py index 7a41550..3a60013 100644 --- a/interfaces/email/interactive/send_pgp_mime.py +++ b/interfaces/email/interactive/send_pgp_mime.py @@ -158,7 +158,7 @@ def attach_root(header, root_part): Attach the email.Message root_part to the email.Message header without generating a multi-part message. """ - for k,v in self.header.items(): + for k,v in header.items(): root_part[k] = v return root_part @@ -243,7 +243,7 @@ def target_emails(msg): + resent_ccs + resent_bccs) return [addr[1] for addr in all_recipients] -class EncryptedMessageFactory (object): +class PGPMimeMessageFactory (object): """ See http://www.ietf.org/rfc/rfc3156.txt for specification details. >>> from_addr = "me@big.edu" -- cgit