Skip to Content.
Sympa Menu

en - Re: [sympa-users] html footer

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Rynhart, Patrick" <address@concealed>
  • To: Steve Shipway <address@concealed>, "address@concealed" <address@concealed>, "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] html footer
  • Date: Thu, 10 Apr 2014 14:59:51 +1200

Have just had a look at this myself and what you get (in the mail source for an HTML message with MIME attachment type for footer) is:

Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
Main part of the message, in HTML formatting.


Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

This is only plain text

Isn't a simple solution for introduce a way to change the Content-Type on the 'footer' multipart message to text/html ? (I would think most modern clients would just render this beneath the main part of the message - can't really see why it would differ to the "text/plain" scenario being used at present.)

On a related note, perhaps it's a good time to suggest that this simple patch is looked at (for inclusion in the source) ?

Currently you get inconsistent behaviour depending on whether the message is sent plain text or html. This patch would give you the best of both worlds.



On 10/04/14 9:38 am, Steve Shipway wrote:
is there a possibility to add a footer in html-format to mails generated by

I think the problem with HTML footers is that Sympa would not know where to
add them.

It can add a separate MIME-multipart section already, or can append a text
footer to a text message, but if you have an HTML footer, where does it go?
It cannot append it to an HTML message, is it would then be outside the main
HTML and BODY tags. It would need some complex parsing to insert into the
middle of the HTML somehow, which may or may not work depending on the rest
of the HTML.

Setting footer type to MIME just makes the text footer get appended as a new
MIME multipart section.

I'd love to be able to add an HTML footer but I think it would require Sympa
to do some more complex HTML parsing and editing on the main HTML message


Steve Shipway

Archive powered by MHonArc 2.6.19+.

Top of Page