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

14y, 148d ago [edited]

Send an html mail from mutt on cli

Set your from address:

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

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

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

Comments

hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!

Leave first comment to start a conversation!