diff options
| author | Barry Warsaw | 2009-02-19 00:18:35 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-02-19 00:18:35 -0500 |
| commit | d0cb397ef31598e4fb6b7c70553ee9e9f23226ab (patch) | |
| tree | e715c71eefc564fe8c93b0f9da031ca0d8aa3e56 /src/mailman/interfaces/autorespond.py | |
| parent | 165f53b5d38850589aa75122ab08c73c7ddcb127 (diff) | |
| download | mailman-d0cb397ef31598e4fb6b7c70553ee9e9f23226ab.tar.gz mailman-d0cb397ef31598e4fb6b7c70553ee9e9f23226ab.tar.zst mailman-d0cb397ef31598e4fb6b7c70553ee9e9f23226ab.zip | |
Diffstat (limited to 'src/mailman/interfaces/autorespond.py')
| -rw-r--r-- | src/mailman/interfaces/autorespond.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mailman/interfaces/autorespond.py b/src/mailman/interfaces/autorespond.py index fa4d19de6..f0b2f88bd 100644 --- a/src/mailman/interfaces/autorespond.py +++ b/src/mailman/interfaces/autorespond.py @@ -37,6 +37,10 @@ class Response(Enum): hold = 1 # Email commands, i.e. -request messages. command = 2 + # Messages to the list owner/administrator. + owner = 3 + # Messages to the list's posting address. + postings = 4 @@ -85,3 +89,14 @@ class IAutoResponseSet(Interface): :param response_type: The response type being sent. :type response_type: `Response` """ + + def last_response(address, response_type): + """Record the fact that another response is being sent to the address. + + :param address: The address who is the recipient of the auto-response. + :type address: `IAddress` + :param response_type: The response type being sent. + :type response_type: `Response` + :return: the last response recorded. + :rtype: `IAutoResponseRecord` + """ |
