Skip to content

mxm, IT's mad science

Sections
Personal tools
You are here: Home » Products » Open Source » mxm Workgroups for Plone » re: mail formatting
Downloads
You can download mxm products here.

Due to it's technical and international nature, this section is in english.

Max M Has a blog too.

og er glad for mad

 

Comment

Above in this comment thread: mxm Workgroups for Plone » Group Mail Feature has formatting problems

re: mail formatting

Posted by Anonymous User at 2004-09-23 12:36 AM
My very niave solution:

in Workgroups.py find the code:

if site_encoding.lower() in ['iso-8859-1', 'utf-8']:
body = unicode(body, site_encoding).encode('iso-8859-1')

Add this line:
body = body.replace("\n","<br>")

Seems to resolve the problem, but what if html view is turned off in your mailer? Weird.