[Pymilter] something odd I've noticed about the milter supplied wrapper to e-mail module

Eric S. Johansson esj at harvee.org
Fri Apr 23 09:38:38 EDT 2004


Stuart D. Gathman wrote:

> The other option is to duplicate the string conversion.  If wrapping with
> str() is all that is required, that is probably simplest:
> 
> class MimeMessage(Message):
> 
>   def __setitem__(self, name, value):
>       rc = Message.__setitem__(self,name,value)
>       self.modified = True 
>       if self.headerchange: self.headerchange(self,name,str(value))
>       return rc
> 

this seems to be working OK.  Although I am chasing a couple of other 
problems that keep me from testing it fully.



<!DSPAM:FC1795FA5014835642832250>




More information about the Pymilter mailing list