# HG changeset patch # User Paul Boddie # Date 1414515845 -3600 # Node ID 905f90bf65996b1af218ad04ece5667b5aab8944 # Parent 135cab327e7fe6e5e1f607ca902fec909f2e7cd3 Introduced specific senders, subjects and texts for person-related messages. diff -r 135cab327e7f -r 905f90bf6599 imip_manager.py --- a/imip_manager.py Tue Oct 28 17:59:27 2014 +0100 +++ b/imip_manager.py Tue Oct 28 18:04:05 2014 +0100 @@ -320,6 +320,12 @@ self.out.write(unicode(self.page).encode(self.encoding)) if __name__ == "__main__": - Manager()() + Manager( + Messenger( + "imip-agent@example.com", + "Calendar system message", + "This is a message from the calendar system." + ) + )() # vim: tabstop=4 expandtab shiftwidth=4 diff -r 135cab327e7f -r 905f90bf6599 imip_person.py --- a/imip_person.py Tue Oct 28 17:59:27 2014 +0100 +++ b/imip_person.py Tue Oct 28 18:04:05 2014 +0100 @@ -2,7 +2,15 @@ from imiptools import Processor from imiptools.handlers import person +from imiptools.mail import Messenger -Processor(person.handlers)() +Processor( + person.handlers, + Messenger( + "imip-agent@example.com", + "Calendar system message", + "This is a message from the calendar system." + ) + )() # vim: tabstop=4 expandtab shiftwidth=4