RE: [Zope] = replaced with == in sendmail!!!!!
-----Original Message----- From: Paulo Eduardo Neves [mailto:neves@inf.puc-rio.br] Sent: Friday, 16 April 1999 12:06 To: Jay, Dylan Cc: 'Michel Pelletier'; 'zope@zope.org' Subject: Re: [Zope] = replaced with == in sendmail!!!!!
"Jay, Dylan" wrote:
I couldn't get it to work but I'm pretty sure it wouldn't anyway. I had a look at the MailHost code and found some quoting stuff that if I knew more about python I might be able to do work out the problem with.
From using http://cie.motor.ru/RFC/1521/6.html as a reference to quoted-printable encoding it seems that '=' should be encoded as '=75' not '==' and hence the code is wrong.
So changing function 'quote' in the MailHost file to def quote(c): i = ord(c) return ESCAPE + HEX[i/16] + HEX[i%16] should work. If only I could work out how to compile python files...
participants (1)
-
Jay, Dylan