Mercurial > p > roundup > code
diff roundup/mailgw.py @ 367:5140ccaaab1b
Modified roundup-mailgw so it can read e-mails from a local mail spool file.
Truncates the spool file after parsing.
Fixed a couple of small bugs introduced in roundup.mailgw when I started
the popgw.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 07 Nov 2001 05:29:26 +0000 |
| parents | ab16997d9cda |
| children | c7b5b1aa6b4a |
line wrap: on
line diff
--- a/roundup/mailgw.py Wed Nov 07 02:47:53 2001 +0000 +++ b/roundup/mailgw.py Wed Nov 07 05:29:26 2001 +0000 @@ -72,7 +72,7 @@ an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.28 2001-11-01 22:04:37 richard Exp $ +$Id: mailgw.py,v 1.29 2001-11-07 05:29:26 richard Exp $ ''' @@ -152,10 +152,10 @@ m.append(s.getvalue()) m.append('---- failed message follows ----') try: - fp.seek(0) + message.fp.seek(0) except: pass - m.append(fp.read()) + m.append(message.fp.read()) if m: try: smtp = smtplib.SMTP(self.MAILHOST) @@ -449,6 +449,12 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.28 2001/11/01 22:04:37 richard +# Started work on supporting a pop3-fetching server +# Fixed bugs: +# . bug #477104 ] HTML tag error in roundup-server +# . bug #477107 ] HTTP header problem +# # Revision 1.27 2001/10/30 11:26:10 richard # Case-insensitive match for ISSUE_TRACKER_EMAIL in address in e-mail. #
