summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Rouillard <yann@pleiades.fr.eu.org>2013-12-05 22:37:50 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2014-08-02 17:29:33 +0200
commit8fa7d09caa0e5f3581b163ba388ed2e853861dc7 (patch)
tree3eeadfbab520442964a11fc376879f96f78bff71
parentde18f2e4eb6d1c7af81634f1d5c27dfa4db6ec0a (diff)
forward attached files in inline forwarding mode
-rw-r--r--alot/commands/thread.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index f2e034f2..815af42e 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -305,6 +305,9 @@ class ForwardCommand(Command):
envelope.body = mailcontent
+ for a in self.message.get_attachments():
+ envelope.attach(a)
+
else: # attach original mode
# attach original msg
mail.set_type('message/rfc822')