mail responder

This commit is contained in:
Kenneth Reitz
2012-04-30 22:46:08 -04:00
parent 6a8ecc578c
commit 02065c1171
2 changed files with 16 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-
from inbox import Inbox
inbox = Inbox()
@inbox.collate
def handle(to, sender, body):
pass
+7
View File
@@ -17,5 +17,12 @@ install_celery(manager)
# db.create_all()
@manager.command
def inbox(addr, port):
from fedex.emaild import inbox
inbox.serve(int(port), addr)
if __name__ == "__main__":
manager.run()