comparison roundup/mailgw.py @ 2005:fc52d57c6c3e

documentation cleanup
author Richard Jones <richard@users.sourceforge.net>
date Wed, 11 Feb 2004 23:55:10 +0000
parents 23e5796a6b45
children cc4667ef3f12
comparison
equal deleted inserted replaced
2004:1782fe36e7b8 2005:fc52d57c6c3e
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 18
19 """ 19 """An e-mail gateway for Roundup.
20 An e-mail gateway for Roundup.
21 20
22 Incoming messages are examined for multiple parts: 21 Incoming messages are examined for multiple parts:
23 . In a multipart/mixed message or part, each subpart is extracted and 22 . In a multipart/mixed message or part, each subpart is extracted and
24 examined. The text/plain subparts are assembled to form the textual 23 examined. The text/plain subparts are assembled to form the textual
25 body of the message, to be stored in the file associated with a "msg" 24 body of the message, to be stored in the file associated with a "msg"
71 set() method to add the message to the item's spool; in the second case we 70 set() method to add the message to the item's spool; in the second case we
72 are calling the create() method to create a new node). If an auditor raises 71 are calling the create() method to create a new node). If an auditor raises
73 an exception, the original message is bounced back to the sender with the 72 an exception, the original message is bounced back to the sender with the
74 explanatory message given in the exception. 73 explanatory message given in the exception.
75 74
76 $Id: mailgw.py,v 1.142 2004-01-20 00:06:09 richard Exp $ 75 $Id: mailgw.py,v 1.143 2004-02-11 23:55:08 richard Exp $
77 """ 76 """
77 __docformat__ = 'restructuredtext'
78 78
79 import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri 79 import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
80 import time, random, sys 80 import time, random, sys
81 import traceback, MimeWriter, rfc822 81 import traceback, MimeWriter, rfc822
82 82

Roundup Issue Tracker: http://roundup-tracker.org/