M
Mark Hahn
I'm using the MIMEText module as part of sending email with no problem until
I put it through py2exe. Then I get this error:
LookupError: unknown encoding: ascii
.... on this line ...
File "email\Encoders.pyc", line 85, in encode_7or8bit
.... which looks like this ...
orig.encode('ascii')
My guess is the ascii codec is not getting included in my build. Can
someone tell me how to fix this? I know nothing about how these text codecs
work.
I put it through py2exe. Then I get this error:
LookupError: unknown encoding: ascii
.... on this line ...
File "email\Encoders.pyc", line 85, in encode_7or8bit
.... which looks like this ...
orig.encode('ascii')
My guess is the ascii codec is not getting included in my build. Can
someone tell me how to fix this? I know nothing about how these text codecs
work.