Re: [Zope-CMF] [dev] email_charset: a small proposal

2006-10-12 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'd like to add an 'email_charset' property to the site (making it  
possible to use e.g. iso-8859-1 for emails and utf-8 for site  
content) and to fix the header encoding.


Are there specific problems using the same encoding for email that is  
used for the site (apart from any other bugs that you mention)?


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFLnMdRAx5nvEhZLIRAo9LAJ0ZQHgdSJnd7XF8fh1uqM8j3NBXBACgjlu/
Da3wrVH+hW3yKXPfYHonnjU=
=ycG4
-END PGP SIGNATURE-
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] [dev] email_charset: a small proposal

2006-10-12 Thread yuppie

Hi!


CMFDefault's RegistrationTool sends welcome messages and password 
reminders as email. Currently


a) the body is encoded with the default_charset and

b) the headers are not correctly encoded.


I'd like to add an 'email_charset' property to the site (making it 
possible to use e.g. iso-8859-1 for emails and utf-8 for site content) 
and to fix the header encoding.


This will also require one or two new helper methods in CMFDefault.utils 
that provide some functionality from Python's email package in TTW code.


Please let me know if you have any objections or if you plan to 
contribute a more sophisticated solution. While this also fixes some 
bugs I plan to change this only on the trunk.



Cheers,

Yuppie

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests