Update of /cvsroot/plib/CVSROOT
In directory usw-pr-cvs1:/tmp/cvs-serv3363
Modified Files:
syncmail
Log Message:
Updated to rev. 1.13 from cvs-syncmail CVS repository (added X-Mailer: header)
Index: syncmail
===================================================================
RCS file: /cvsroot/plib/CVSROOT/syncmail,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- syncmail 8 May 2002 15:35:11 -0000 1.11
+++ syncmail 23 May 2002 19:18:53 -0000 1.12
@@ -71,6 +71,8 @@
email-addrs
At least one email address.
"""
+__version__ = '1.1'
+
import os
import sys
import re
@@ -231,10 +233,12 @@
From: %(name)s <%(author)s>
To: %(people)s
Subject: %(subject)s
+X-Mailer: Python syncmail %(version)s <http://sf.net/projects/cvs-syncmail>
''' % {'name' : name,
'author' : author,
'people' : string.join(people, COMMASPACE),
'subject': subject,
+ 'version': __version__,
}
s.write(sys.stdin.read())
# append the diffs if available
|