<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html  PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'  'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html lang="he" xml:lang="he" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="Docutils 0.7: http://docutils.sourceforge.net/" name="generator"/>
</head>
<body dir="LTR">
<div class="document">
<p>Hi Ismael,</p>
<p>I'm realy glad you like it.</p>
<p>Ismael Bouya <<a class="reference external" href="mailto:ismael.bouya@normalesup.org">ismael.bouya@normalesup.org</a>> [2018-01-04 16:56 +0100]:</p>
<blockquote>
Hey Amit and all,
Your program looks great, I was actually wondering a few days ago wether
this kind of thing already existed or not.
Is there any way to have it as a hook before sending (like a hook that
would create another mime part) rather than wrapping the sendmail
program? That would permit to remove the html version before sending, if
necessary.</blockquote>
<p>A hook inside Mutt/NeoMutt would be a great idea, but as far as I know Mutt/NeoMutt don't currently have such a feature. It would be very helpfull, for example it could allow Mutt to choose automaically whether to generate the HTML mime part or not based on the recipient.</p>
<p>You can accomplish that, however, with a simple "workaround" (or
perhaps a feature), by using macros in Mutt that enables switching
dynamically between sending the message "as is" (no HTML), or to pipe
it into plainMail2HTML before handing it over to sendmail.</p>
<p>The macro files I'm using are included with the package, and there are
instructions for how to use them in the readme file:</p>
<p><a class="reference external" href="https://github.com/amitramon/plainMail2HTML#some-mutt-tricks">https://github.com/amitramon/plainMail2HTML#some-mutt-tricks</a></p>
<p>I hope this answers your questions.</p>
<p>All the best,</p>
<p>Amit</p>
</div>

</body>
</html>