1.1 --- a/imip_manager.py Tue Oct 28 17:59:27 2014 +0100
1.2 +++ b/imip_manager.py Tue Oct 28 18:04:05 2014 +0100
1.3 @@ -320,6 +320,12 @@
1.4 self.out.write(unicode(self.page).encode(self.encoding))
1.5
1.6 if __name__ == "__main__":
1.7 - Manager()()
1.8 + Manager(
1.9 + Messenger(
1.10 + "imip-agent@example.com",
1.11 + "Calendar system message",
1.12 + "This is a message from the calendar system."
1.13 + )
1.14 + )()
1.15
1.16 # vim: tabstop=4 expandtab shiftwidth=4
2.1 --- a/imip_person.py Tue Oct 28 17:59:27 2014 +0100
2.2 +++ b/imip_person.py Tue Oct 28 18:04:05 2014 +0100
2.3 @@ -2,7 +2,15 @@
2.4
2.5 from imiptools import Processor
2.6 from imiptools.handlers import person
2.7 +from imiptools.mail import Messenger
2.8
2.9 -Processor(person.handlers)()
2.10 +Processor(
2.11 + person.handlers,
2.12 + Messenger(
2.13 + "imip-agent@example.com",
2.14 + "Calendar system message",
2.15 + "This is a message from the calendar system."
2.16 + )
2.17 + )()
2.18
2.19 # vim: tabstop=4 expandtab shiftwidth=4