Mercurial > p > roundup > code
diff roundup/mailgw.py @ 499:9ad589d0a60f
Changed message-id format to "<%s.%s.%s%s@%s>" so it complies with RFC822
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 08 Jan 2002 04:12:05 +0000 |
| parents | 00450ff9c4e7 |
| children | 3f6107488465 |
line wrap: on
line diff
--- a/roundup/mailgw.py Tue Jan 08 04:03:47 2002 +0000 +++ b/roundup/mailgw.py Tue Jan 08 04:12:05 2002 +0000 @@ -73,7 +73,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.47 2002-01-02 02:32:38 richard Exp $ +$Id: mailgw.py,v 1.48 2002-01-08 04:12:05 richard Exp $ ''' @@ -427,7 +427,7 @@ inreplyto = message.getheader('in-reply-to') or '' # generate a messageid if there isn't one if not messageid: - messageid = "%s.%s.%s%s-%s"%(time.time(), random.random(), + messageid = "<%s.%s.%s%s@%s>"%(time.time(), random.random(), classname, nodeid, self.MAIL_DOMAIN) # @@ -708,6 +708,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.47 2002/01/02 02:32:38 richard +# ANONYMOUS_ACCESS -> ANONYMOUS_REGISTER +# # Revision 1.46 2002/01/02 02:31:38 richard # Sorry for the huge checkin message - I was only intending to implement #496356 # but I found a number of places where things had been broken by transactions:
