以下でHTMLメッセージを表示するにはmutt:

以下でHTMLメッセージを表示するにはmutt:

私はMuttを使い始めましたが、私が持っている唯一の問題は、Outlookアカウントから電子メールを受信すると、多くのヘッダーとすべてのHTMLを受け取ることです。これは読みにくいです。私がやりたいことは、この内容を正しく読んで電子メールをHTML形式で送信できることです。これを達成するにはどの設定を構成する必要がありますか?

ベストアンサー1

以下でHTMLメッセージを表示するにはmutt

以下を次の項目に追加します~/.muttrc

# convert text/html to text/plain using the "copiousoutput" entry
# for text/html from ~/.mailcap

auto_view text/html

# Optionally prefer text/plain to text/html
# Doing this means that you will need to manually view text/html attachments
# in messages that are multipart/alternative with both text/plain and
# text/html attachments.

alternative_order text/plain text/html

次の2行のうちの1つ~/.mailcap

text/html; /usr/bin/links -html-numbered-links 1 -dump '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html

text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html

w3m(または他のプログラムを使用してHTMLをプレーンテキストに変換することもできますが、text2html適切なコマンドラインオプションを見つけるには、そのマニュアルページを読む必要があります)

mutt~/.mailcap指定されたコマンドは、text / html添付ファイルをtext / plainに変換してmuttビューアに表示するために使用されます。

以下からHTMLメールを送信するにはmutt:

そんな嫌なことを決して犯したくない自尊心があるからわかりません。

おすすめ記事