==================================
send-an-html-mail-from-mutt-on-cli
==================================

.. raw:: html

   <table class="provenance-header" style="border: 0; border-collapse: collapse; margin: 0 0 16px 0; width: 100%;">

.. raw:: html

   <tr style="border: 0;">

.. raw:: html

   <td style="border: 0; vertical-align: top; padding: 0 24px 0 0;">

..

   | **Source:**
     https://foxhop.net/f3ae188b-2f95-11f1-a34a-e86a64d24d78/send-an-html-mail-from-mutt-on-cli
   | **Snapshot:** 2026-09-14T11:36:04Z
   | **Generator:** Remarkbox ``695de26``

   *This is a thread snapshot. The living document lives at the source
   URI above — it may have been edited, extended, or replied-to since.*

.. raw:: html

   </td>

.. raw:: html

   <td style="border: 0; vertical-align: top; width: 200px; text-align: right;">

.. figure:: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0AQAAAAAVtjufAAABq0lEQVR42tVYQQ7CAAwifqD//yU/qEBNvHgxwYNTp9mBdpTSTuzHg/ib6wAGw53hrF++wAc+H99ehwB3QMWgAzqQz0V8zOjuQJ2FfhfK+ORMsGme+vgCFu3jIP38N2/XWAX2ry7/uMTfR1k/d0yU43AT3Rb5YW7AZ4oiV7ibv0ARToQLa0h3Us3f0hGqOtctrAJPE98Ny0BbpnQJWNWnebH1mJnLvqpP+qUYYGqxMbqu/oVtVEUAXzpq5i9zCzc2OLeANVTWj4tsASFl6PaX6qnkQ0xsbrv6VL5w5sQ1Wnt+Iclbmo6lGNv2ZxU13ct9mQ/K+ieizpAU+Ko/iBveiAR/4T9WZL4z5m3+XX16d7gBGW9OA3T9wUtVBGTqB935grMebhogY7473zesM8YcA23vh1l4gs1YUDl/wzLy8QSIO5f9x5BxCvqThqjiZ37dHj2xn2r+mVpuLjsRb58r728T83GoTJkt91dW6Dnu72ngB88v11lI/u393yPSRbhtorwfXurZzG82lveHUOLFZ48alvm5DZpZhDIlZ9rPL5kyIShPGlX9/Pf/A0/BfUZF0JcRJQAAAABJRU5ErkJggg==
   :alt: Scan for living source

   Scan for living source

.. raw:: html

   </td>

.. raw:: html

   </tr>

.. raw:: html

   </table>

Send an html mail from mutt on cli
==================================

Set your **from** address:

   .. container::
      :name: cb1

      ::

         export EMAIL='foxhop.net <no-reply@foxhop.net>'

Send an **html** email body, with a **subject**, and and **attachment**
to one **recipient**:

   .. container::
      :name: cb2

      ::

         mutt -e 'set content_type=text/html' -s 'subject' -a path/to/attachment.jpg -- email@example.com < body.html

--------------

| **Source:**
  https://foxhop.net/f3ae188b-2f95-11f1-a34a-e86a64d24d78/send-an-html-mail-from-mutt-on-cli
| **Snapshot:** 2026-09-14T11:36:04Z
| **Generator:** Remarkbox ``695de26``
