[Mailman-Users] Is there a way to change the template files

lists at viplist.us lists at viplist.us
Fri Jul 9 23:26:38 CEST 2010


I changed, restarted, but cannot send html email.  It shows up all as html 
coding.

What my clients want to do is to be able to send a html email, for the 
welcome email, the confirmation email, the help email, etc.

----- Original Message -----
From: lists at viplist.us
To: "Mark Sapiro" <mark at msapiro.net>,  mailman-users at python.org
Date: Fri, 09 Jul 2010 13:12:34 -0700
Subject: Re: [Mailman-Users] Is there a way to change the template files

> I did restart Mailman, but I neglected to make sure all qrunners were 
> stopped.
> 
> I just want to be alble to send graphics inline, so it looks like this 
will 
> work.  I will try and change in low peak usage.
> 
> Thanks.
> 
> 
> 
> ----- Original Message -----
> From: Mark Sapiro <mark at msapiro.net>
> To: lists at viplist.us, mailman-users at python.org
> Date: Thu, 8 Jul 2010 09:05:09 -0700
> Subject: Re: [Mailman-Users] Is there a way to change the template files
> 
> > lists at viplist.us wrote:
> > 
> > >It looks like each file that calls a txt file would have to be 
changed, 
> or 
> > >is there somewhere that I can globally change the
> > >
> > >Content-Type: text/plain; charset="us-ascii" 
> > >
> > >to iso-8859-1?  I know I would then have to change all text files that 
> are 
> > >emailed (after figuring out which ones are emailed and which ones are 
> > >simply includes.)
> > 
> > 
> > Why would you need to change any templates? the 'en' ones are all
> > us-ascii which is a proper subset of iso-8859-1.
> > 
> > 
> > >I tried changing the selection in Defaults.py  for English to 
> iso-8859-1, 
> > >but that did not do it.
> > 
> > 
> > It seems you've changed the question from "how do I put HTML into .txt
> > templates" to "how do I change the character set of Mailman generated
> > list mail".
> > 
> > From this, I gather that the real issue you are trying to address is
> > inclusion of non-ascii characters in templates.
> > 
> > If that is the case, changing the character set for 'en' from us-ascii
> > to iso-8859-1 or utf-8 should work provided the non-ascii characters
> > in the templates are encoded in the same (iso-8859-1 or utf-8)
> > encoding.
> > 
> > It is best not to change this in Defaults.py, but rather override it in
> > mm_cfg.py (see the FAQ at <http://wiki.list.org/x/fIA9>) with a line
> > 
> > add_language('en', 'English (USA)', 'iso-8859-1', 'ltr')
> > 
> > (and the omission of the i18n _() around 'English (USA)' is
> > intentional).
> > 
> > As to why this didn't seem to work when you changed Defaults.py, did
> > you restart Mailman after the change?
> > 
> > -- 
> > Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> > San Francisco Bay Area, California    better use your sense - B. Dylan
> > 
> > 
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: 
http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/lists%40viplist.us
> 


More information about the Mailman-Users mailing list