summaryrefslogtreecommitdiff
path: root/alot/command.py
diff options
context:
space:
mode:
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)