emacs/var/elfeed/db/data/c3/c35ff6289373f49b5566845d3afdd4f73d5149cb
2022-01-03 12:49:32 -06:00

1 line
1.2 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>I have a text file on disk containing a valid RFCnnnn email message. It has all of the headers, including <code>From:</code>, <code>To:</code>, <code>References:</code>, and <code>Content-type:</code> (it&#39;s a multipart/alternative). One alternative is quoted-printable text/plain, and the other is HTML.</p> <p>Is there anything out there already that will let me look at this arbitrary file as if it were an email, without having to hook it into mailboxes/maildirs/indexers? Just extract that text/html section and render it with SHR, nothing about replying or forwarding. Or strip out the the quoted-printable escapes and refill the paragraphs. It seems like someone somewhere would have already written a package that sits on top of emacs-mime and does this.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/PropagandaOfTheDude"> /u/PropagandaOfTheDude </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/poz3xo/any_way_to_just_render_an_email_file_on_disk/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/poz3xo/any_way_to_just_render_an_email_file_on_disk/">[comments]</a></span>