summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py
diff options
context:
space:
mode:
authorbwarsaw2000-06-15 20:54:54 +0000
committerbwarsaw2000-06-15 20:54:54 +0000
commitea71c4eb22b5f02f38a83627fbb0cf4d2aeb034f (patch)
treeb274bca3cf50bffa037e037385b927a72d21860b /Mailman/pythonlib/cgi.py
parente0924e960217ec856947fe89fcb15bc8f52e5eaf (diff)
downloadmailman-ea71c4eb22b5f02f38a83627fbb0cf4d2aeb034f.tar.gz
mailman-ea71c4eb22b5f02f38a83627fbb0cf4d2aeb034f.tar.zst
mailman-ea71c4eb22b5f02f38a83627fbb0cf4d2aeb034f.zip
HandleRequest(): Takes three new additional arguments, `preserve',
`forward', and `addr' which are passed in from admindb.py. These are only useful for held postings, and are only passed on to __handlepost(). preserve is a flag that says whether the held message should be copied to the `spam' directory or not. forward is a flag which says that the message should be forwarded on to an addition email address, which is contained in the addr parameter. Both most be set for forwarding to occur. Finally, HandleRequest() only deletes the database entry if the status of the sub-method is true. This is to support the new `deferred' flag for held postings. __handlepost(): Takes the three new parameters as described above. Uses shutil to do the `preserve' copy, and HandlerAPI.DeliverToUser() to do the forwarding (after inserting a `Resent-To' header).
Diffstat (limited to 'Mailman/pythonlib/cgi.py')
0 files changed, 0 insertions, 0 deletions