Cory Wright <[EMAIL PROTECTED]> writes:

> This is what I see in the subject when I view the file with 'less':
>
>   Ynwp4dUEbay Auction Semiar- No Charge <96> Earn Big
>
> The <96> part is the non ascii portion.

This is the result of a problem with the Python email library, so I've
filed a bug report with them - http://python.org/sf/648119

They've been responding to my bug reports at a snails pace during the
past several months, so there's no telling when this will get properly
addressed.

In the meantime, attached is a workaround patch. The caveat is that
you should only apply this patch if you are _not_ using any
internationalized headers (i.e, only US-ASCII), as it will break that.

Index: AutoResponse.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/AutoResponse.py,v
retrieving revision 1.6
diff -u -u -r1.6 AutoResponse.py
--- AutoResponse.py	10 Nov 2002 04:07:10 -0000	1.6
+++ AutoResponse.py	5 Dec 2002 18:59:26 -0000
@@ -167,7 +167,7 @@
                     h.append(s, charset)
                 self.mimemsg[k] = h
             else:
-                self.mimemsg[k] = Header(v, hdrcharset, header_name=k)
+                self.mimemsg[k] = v
         # Add some new headers to the main entity.
         timesecs = time.time()
         self.mimemsg['Date'] = Util.make_date(timesecs) # required by RFC 2822

Reply via email to