summaryrefslogtreecommitdiff
path: root/alot/command.py
diff options
context:
space:
mode:
authorpazz <patricktotzke@gmail.com>2011-08-13 14:03:25 +0100
committerpazz <patricktotzke@gmail.com>2011-08-13 14:03:25 +0100
commit235d827db02ea5def93aeccd22d292951846626e (patch)
tree81bcef6d34da5b346b1ff66cd7d46ea291c9c1ae /alot/command.py
parent893c5b71bd465edaab24ead2df7f5a2f811f9abf (diff)
merged sender back into accounts
Diffstat (limited to 'alot/command.py')
-rw-r--r--alot/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/command.py b/alot/command.py
index d66c3c6d..35b1359b 100644
--- a/alot/command.py
+++ b/alot/command.py
@@ -833,7 +833,7 @@ class EnvelopeSendCommand(Command):
account = ui.accountman.get_account_by_address(saddr)
if account:
clearme = ui.notify('sending..', timeout=-1, block=False)
- success, reason = account.sender.send_mail(mail)
+ success, reason = account.send_mail(mail)
ui.clear_notify([clearme])
if success:
cmd = BufferCloseCommand(buffer=envelope)