[MlMt] Inject custom javascript into Message View

Benny Kjær Nielsen mailinglist at freron.com
Mon Jun 19 08:32:56 EDT 2017


On 13 Jun 2017, at 16:51, Marco Carmosino wrote:

> Another solution is automatically turning on the MathML bundle _only_ 
> for specific recipients who have known-good email clients; ie math 
> gets rendered as plaintext for everyone who isn't whitelisted, because 
> I often have email threads that have to go between some people who 
> have good email software and some who don't.

I would prefer this approach, but it's tricky to implement. A first step 
would be to ensure that MathML is generated only when all recipients 
have MathML capable email clients. I'll give that some thought since I 
can see why this would make it more useful feature for you.

> This seem like it might be even worse than the above, because then it 
> breaks threading, because different recipients are getting truly 
> different messages...

It wouldn't break as long as MailMate reuses the `Message-ID`. That is 
strictly a bit wrong, but the main problem is probably some confusion in 
your own sent messages folder which would contain multiple message with 
the same `Message-ID`.

> Maybe you could bundle all three objects into a message, and have 
> mailmate prefer an HTML+MathML part? Could it be ensured that bad 
> email clients only try to render the no-mathML HTML?

Theoretically, this is possible, but in practice I'm pretty sure a lot 
of email clients would fail horrible with regard to doing the right 
thing.

> Anyway I realize that this is a super-niche concern. Would that the 
> world was a better place for MathML. But now that I'm reminded of the 
> feature I can at least try and get all my mac friends on MailMate for 
> it, and grow a little circle of people sending emails to each other 
> with math that actually looks decent.

:-)

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20170619/6d7a0f5e/attachment.html>


More information about the mailmate mailing list