Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions viewmailattachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Can be run from within a mailer like mutt, or independently
# on a single message file.
#
# Usage: viewhtmlmail.py email_message_file
# Usage: viewmailattachments.py email_message_file
#
# Inspired by John Eikenberry <jae@zhar.net>'s view_html_mail.sh
# which sadly no longer works, at least with mail from current Apple Mail.
Expand All @@ -17,8 +17,7 @@

# To use it from mutt, install it somewhere in your path,
# then put the following lines in your .muttrc:
# macro index <F9> "<pipe-message>~/bin/viewhtmlmail.py\n" "View HTML email in browser"
# macro pager <F9> "<pipe-message>~/bin/viewhtmlmail,ot\n" "View HTML email in browser"
# macro index,pager <F9> "<pipe-message>viewmailattachments.py\n" "View HTML email in browser"

# TESTING: Use the email file in test/files/htmlmail.eml.

Expand Down