Subject: The mailing list for listmasters using Sympa
List archive
- 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:
--------------000407070604040508030402
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Main part of the message, in HTML formatting.
</body>
</html>
--------------000407070604040508030402--
------------=_1397029760-32717-1
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
This is only plain text
------------=_1397029760-32717-1--
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) ?
https://sourcesup.renater.fr/tracker/index.php?func=detail&aid=7393&group_id=23&atid=170
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.
Regards,
Patrick
On 10/04/14 9:38 am, Steve Shipway wrote:
is there a possibility to add a footer in html-format to mails generated bysympa?
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
body.
Steve
Steve Shipway
address@concealed
-
[sympa-users] html footer,
Timon Roth (Weblaw AG), 04/09/2014
-
RE: [sympa-users] html footer,
Steve Shipway, 04/09/2014
-
Re: [sympa-users] html footer,
Rynhart, Patrick, 04/10/2014
-
RE: [sympa-users] html footer,
Steve Shipway, 04/10/2014
- Re: [sympa-users] html footer, Rynhart, Patrick, 04/14/2014
-
RE: [sympa-users] html footer,
Steve Shipway, 04/10/2014
-
Re: [sympa-users] html footer,
Rynhart, Patrick, 04/10/2014
-
RE: [sympa-users] html footer,
Steve Shipway, 04/09/2014
Archive powered by MHonArc 2.6.19+.