Hello Stephen. Stephen Isard wrote in <8840-1628541626-84...@sneakemail.com>: |I hope that you have not been hit by fires and floods.
The latter luckily still some dozen kilometres away, thank you. Future seems dark though, even here. Lots of forest damages due to dryness in the last years, and mankind still taking too much. |Rogue email messages seem a rather trivial worry in comparison. But I |have received one, with structure | |Content-Type: multipart/related | Content-Type: multipart/alternative | Content-Type text/html (the actual message) | Content-Type: image/png (Corporate logo) | Content-Type: text/plain (Corporate signature) | |If I 'type' it (s-nail v14.9.21), I see .22 would be nicer, especially now that close_range(2) is truly coming to Linux. ;( |--------------------------- |[-- #1.1 323/20957 multipart/related --] ... Ah what a mess, MIME-side-wise and display-wise. :( |The html-tag-soup feature is present, but the html message content is |not displayed, either with or without pipe-text/html set. If I call set mime-alternative-favour-rich That you need to get at any non-plain text thing. set mime-counter-evidence=0b1111 # optional, always a good thing set pipe-text/html=?h That chooses the builtin HTML viewer. Alternatively simply do mimetype ?h text/html html htm but ensure the output of `mimetype' gives this entry before any other entry for text/html. I personally set set mimetypes-load-control and live only with the builtin set of MIME types. Should work like that, even in the strange Microsoft /related world. Please report otherwise. I maybe should be more explicit in the manual and have a look to point this out more explicitly. Btw we can now make use of .mailcap files, no more need for pipe- stuff. |mimeview, s-nail offers to display the logo and does so correctly, but |it doesn't offer to display the html. I can get the html displayed with `mimeview', hmm, well, it is a text/ thing, it of course interferes with the above. It will simply call the handler otherwise :-( I think better it would be if it would also ask whether it should run it. |& w /dev/null |# All file names need to be sh(1)ell-style quoted, everywhere |Enter filename for part 1.1.1.1 (text/html): "|lynx -stdin -dump -force_\ |html" | |but shouldn't it either count as the message body, and get displayed by |'type' in the first place, or as an attachment that mimeview offers to |display? `mimeview' is an ugly hack. Unfortunately the MIME part is really ugly and mostly unchanged from Heirloom until the big v15 rewrite, that ahem hopefully begins in autumn. |If you are wondering what sort of mailer produces multipart alternatives |with only one part, the message ID mentions JavaMail.urm@bat01. Not really, i have some such strange things from the Microsoft world. That is, the above is good, i first wondered that the /relative is the container for it all, i only knew /alternative container with almost useless text part, and all the glory in the /alternative part. |Unfortunately I have no control over the mailers that large |organizations use for sending me mail. It is truly terrible. Not to talk about support forms and trackers. Ciao Stephen, hope this helps. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)