|
|
| t | send an html mail from mutt on cli | t | Send an html mail from mutt on cli |
| ======================================= | | ======================================= |
| | | |
|
|
| ======================================= | | ======================================= |
| | | |
| n | | n | Set your **from** address: |
| | | |
| .. code-block:: bash | | .. code-block:: bash |
| | | |
| t | | t | export EMAIL='no-reply@foxhop.net' |
| | | |
| | | Send an **html** email body, with a **subject**, and and **attachment** to one * |
| | | *recipient**: |
| | | |
| | | .. code-block:: bash |
| | | |
| mutt -e 'set content_type=text/html' -s 'subject' -a path/to/attachment.jpg -- | | mutt -e 'set content_type=text/html' -s 'subject' -a path/to/attachment.jpg -- |
| email@example.com < body.html | | email@example.com < body.html |
|
|
| .. code-block:: bash | | .. code-block:: bash |
| | | |
| t | mutt -e 'set content_type=text/html' -s 'subject' email@example.com < body.html | t | mutt -e 'set content_type=text/html' -s 'subject' -a path/to/attachment.jpg -- |
| | | email@example.com < body.html |
|
|
| t | | t | send an html mail from mutt on cli |
| | | ======================================= |
| | | |
| | | .. code-block:: bash |
| | | |
| | | mutt -e 'set content_type=text/html' -s 'subject' email@example.com < body.html |