minimail

Cut+paste perl code to parse/create mbox files and mail messages


What is minimail? | Supported Platforms | Documentation | Download

What is minimail?

Minimail is a collection of functions that parse and produce mailbox files and individual mail messages. It is not a module, although it is also available as the MIME::Mini module on CPAN, if you prefer. 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.

It is intended to be yet another alternative to MIME-tools. MIME-tools does things that this code doesn't (such as uuencode and binhex 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), 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 (which doesn't parse)), and so takes much less time during program start up.

Minimail is freely available under the GNU General Public License.

For more information read the manual entry in the Documentation section.

Supported Platforms

Minimail is written in perl and requires no non-standard modules. It should run on any system with a recent version of perl (v5.14 or later).

Documentation

There is a manpage.

minimail(3) - the minimail(3) manpage

Download

Note: There is no tarball. The download is the script itself. Just download it and cut and paste what you need into your code.

minimail [49090 bytes, 20230508] (SHA256 3210e61a8bab0d05c4404ab1fd3caa77c70210531dbf1c8692174fcde4fba129)

What is minimail? | Supported Platforms | Documentation | Download

Last modified by raf at Mon 08 May 2023 22:26:00 AEST
v