[Email-SIG] encoding To headers

Oleg Broytmann phd at mail2.phd.pp.ru
Wed Jan 5 12:08:53 CET 2005


On Wed, Jan 05, 2005 at 09:55:12PM +1100, Stuart Bishop wrote:
> http://stuartbishop.net/Software/EmailAddress

   IWBN to refactor the code into an AddressHeader class, so instead of

> |>>>>mail["From"]=email.Header.Header(, "utf-8")

   one would write

mail["From"]=email.Header.AddressHeader(name, address, "utf-8")

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Email-SIG mailing list