You are not logged in.
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/*; lessI 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.
Last edited by pablo-pie (2026-05-04 16:56:24)
Offline
This issue was caused by a bug in NeoMutt: see neomutt/#4851. A patch should be release soon.
Offline
Also of note: the issue turnout to be unrelated to the mailcap error NeoMutt produces. To get rid of the mailcap error, you need to add a mailcap entry for text/html with edit capabilities: see this comment on the NeoMutt issue tracker.
Offline
The issue was patched on the latest update (neomutt 1:20260504-1).
Offline