2014-10-30 | Paul Boddie | file changeset files shortlog | Added initial support for inspecting outgoing messages for calendar information. |
paul@96 | 1 | #!/usr/bin/env python |
paul@96 | 2 | |
paul@96 | 3 | from imiptools import Processor |
paul@96 | 4 | from imiptools.handlers import person_outgoing |
paul@96 | 5 | from imiptools.mail import Messenger |
paul@96 | 6 | |
paul@96 | 7 | Processor( |
paul@96 | 8 | person_outgoing.handlers, |
paul@96 | 9 | Messenger( |
paul@96 | 10 | "imip-agent@example.com", |
paul@96 | 11 | "Calendar system message", |
paul@96 | 12 | "This is a message from the calendar system." |
paul@96 | 13 | ) |
paul@96 | 14 | )() |
paul@96 | 15 | |
paul@96 | 16 | # vim: tabstop=4 expandtab shiftwidth=4 |