You are not logged in.

#1 2026-04-15 09:34:47

pablo-pie
Member
Registered: 2026-04-15
Posts: 1
Website

Mutt error when sending: mailcap entry for type text/html not found

I am trying to configure NeoMutt to always send my emails with the text/html content type. These are the relevant lines of my configuration files:

# ~/.config/mutt/muttrc
set mailcap_path="~/.config/mutt/mailcap:/usr/share/neomutt/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap"
set content_type="text/html"
set send_charset="utf-8"
# ~/.config/mutt/mailcap
text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput
text/*; less

I can read my emails fine. However, after opening NeoMutt and composing my first email I get the following error message: mailcap entry for type text/html not found. The content type for this email message is correctly set to text/html and the error does not cause any issues when sending this first message, but when composing all subsequent emails the content type is incorrecly set to text/plain!

Is this some sort of error with my system's configuration? For reference, here is my complete muttrc: dotfiles.pablopie.xyz/.config/mutt/muttrc.html.

Offline

Board footer

Powered by FluxBB