diff options
Diffstat (limited to 'Mailman/interfaces/mailinglist.py')
| -rw-r--r-- | Mailman/interfaces/mailinglist.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Mailman/interfaces/mailinglist.py b/Mailman/interfaces/mailinglist.py index d52a6f7b5..2d3811785 100644 --- a/Mailman/interfaces/mailinglist.py +++ b/Mailman/interfaces/mailinglist.py @@ -19,6 +19,7 @@ __all__ = [ 'IMailingList', + 'Personalization', 'ReplyToMunging', ] @@ -27,6 +28,17 @@ from zope.interface import Interface, Attribute +class Personalization(Enum): + none = 0 + # Everyone gets a unique copy of the message, and there are a few more + # substitution variables, but no headers are modified. + individual = 1 + # All of the 'individual' personalization plus recipient header + # modification. + full = 2 + + + class ReplyToMunging(Enum): # The Reply-To header is passed through untouched no_munging = 0 |
