Update of /cvsroot/cvs-syncmail/syncmail
In directory usw-pr-cvs1:/tmp/cvs-serv8475
Modified Files:
syncmail
Log Message:
Add an X-Mailer: header.
Index: syncmail
===================================================================
RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- syncmail 2 May 2002 19:25:36 -0000 1.12
+++ syncmail 23 May 2002 17:52:42 -0000 1.13
@@ -71,6 +71,8 @@
email-addrs
At least one email address.
"""
+__version__ = '1.1'
+
import os
import sys
import re
@@ -229,9 +231,11 @@
From: %(author)s
To: %(people)s
Subject: %(subject)s
+X-Mailer: Python syncmail %(version)s <http://sf.net/projects/cvs-syncmail>
''' % {'author' : author,
'people' : string.join(people, COMMASPACE),
'subject': subject,
+ 'version': __version__,
}
s.write(sys.stdin.read())
# append the diffs if available
|