Minimail is a collection of functions that parse and produce
mailbox files and individual mail messages. It is not a module (although
uncommenting one line and calling it
minimail.pm would turn it
into a module). It is intended to be compact enough to cut and paste
directly into perl scripts that don't want to require non-standard perl
modules. In other words, it is intended to be yet another alternative to
MIME-tools. MIME-tools does things that this code doesn't
(such as uuencode decoding). And minimail does things that
MIME-tools doesn't such as reading and writing mailbox files
correctly (repairing incorrectly formatted ones along the way),
automatically encoding and decoding mail headers and MIME header parameters,
and transparently unravelling
winmail.dat attachments (aka
MS-TNEF). Minimail is much smaller (about 3% of the size
of MIME-tools and the other modules it requires and about 20% of
the size of MIME-Lite) and so takes much less time during program
Minimail is freely available under the GNU General Public License.
For more information read the manual entry in the Documentation section.
Minimail is written in perl and requires no non-standard modules. It should run on any system with a recent version of perl.
There is a manpage.
||-||the minimail(3) manpage|
Note: There is no tarball. The download is the script itself. Just download it and cut and paste what you need into your code.