send messages returned by ICapMessagesReply.post_reply()

This commit is contained in:
Romain Bignon 2010-05-03 19:32:18 +02:00
commit f776214507
2 changed files with 5 additions and 15 deletions

View file

@ -98,7 +98,8 @@ class Monboob(ConsoleApplication):
return 1
thread_id, msg_id = id.rsplit('.', 1)
backend.post_reply(thread_id, msg_id, title, content)
for m in backend.post_reply(thread_id, msg_id, title, content):
self.send_email(backend, m)
@ConsoleApplication.command("run daemon")
def command_run(self):