Update of /cvsroot/tmda/tmda/TMDA
In directory sc8-pr-cvs1:/tmp/cvs-serv15605/TMDA
Modified Files:
AutoResponse.py
Log Message:
Bugfix reported by Brian Lalor. Setting AUTORESPONSE_INCLUDE_SENDER_COPY = 1
never worked as we were including the entire message string instead of only
the message's headers.
Index: AutoResponse.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/AutoResponse.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- AutoResponse.py 26 Feb 2003 19:43:52 -0000 1.8
+++ AutoResponse.py 31 Mar 2003 21:28:54 -0000 1.9
@@ -121,7 +121,7 @@
self.mimemsg.attach(textpart)
if Defaults.AUTORESPONSE_INCLUDE_SENDER_COPY == 1:
# include the headers only as a text/rfc822-headers part.
- rfc822part = MIMEText(self.msgin_as_string,
+ rfc822part = MIMEText(Util.headers_as_raw_string(self.msgin),
'rfc822-headers',
self.msgin.get_charsets()[0])
rfc822part['Content-Description'] = 'Original Message Headers'
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs