This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Mailcat outputs mail files to the text console. It works just like cat:

$ mailcat example.eml
Subject: Plushy
From:    Jan <jan@catnip.nowhere>
To:      Marta <marta@purrrrr.xyz>
Date:    Fri, 21 Aug 2015 23:10:43 +0200

Hi Marta,

Here are the pictures of my cat, Plushy. She's so cute!!!

Attachments:
[1] Plushy1.jpg (image/jpeg)
[2] Plushy2.jpg (image/jpeg)
[3] Plushy3.jpg (image/jpeg)

Download and install

Install Mailcat with pip:

pip install mailcat

To use Mailcat with less, add this to ~/.lessfilter:

#!/bin/sh

case "$1" in
    *.eml|*.mbx|*.mbox)
        mailcat --color=always "$1"
        exit 0
        ;;
esac

exit 1

and make ~/.lessfilter executable:

chmod +x ~/.lessfilter

The source code is available from the Git repository at Bitbucket.

Mailcat is written in Python and licensed under GNU GPL version 3 or any later version.

Version history

0.2

(released on October 3, 2015)

  • Added support for mbox files.
  • Added support for reading from stdin.
  • Fixed UnicodeEncodeError in Python 2 when stdout is a file or a pipe.

0.1

(released on August 21, 2015)

  • Added support for reading .eml files (plain text MIME messages).
  • Added formatting of HTML bodies as plain text or raw HTML.
  • Added attachment listing.
  • Added color highlighting.
Release History

Release History

0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mailcat-0.2.tar.gz (6.8 kB) Copy SHA256 Checksum SHA256 Source Oct 3, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting