Basil MIME
A MIME Library for Ada
Basil is a powerful native Email and MIME (Multipurpose Internet Mail Extensions) library for the Ada 2005 programming language.
It has the following features:
-
Serialization and unserialization email messages, including those with MIME parts, and an API methods to easily do common things with the message objects
-
An API for MIME children of message objects (and of other MIME entities), based on the Ada List container. Since children entities can themselves have children, the library provides a recursive cursor which makes it easy to visit every child of a given message or MIME entity.
-
Very flexible parsers for RFC 2822 Date, Address, and Message ID headers, and of RFC 2045 Content‐Type and Content‐Transfer‐ Encoding headers. Data structures to represent such objects (for the date it uses an Ada Time object), and means to serialize the objects into fully compliant message headers.
- Base64 and Quoted-Printable encoding and decoding
-
Encapsualization and unencapsualization of message headers containing non‐ASCII values conforming to RFC 2047
It does not yet support RFC 2831 Content‐Disposition fields, although that is a priority feature for the next release. It also does not support sending email through various mail systems, reading “mbox” or “maildir” format mail boxes, or parsing trace headers, as those features are beyond the current scope.
Download
The current release of Basil MIME is version 1.0.
You may download the source release for this software here:
http://hafdconsulting.com/pub/basil/basil-1.0.tar.gz
The md5sum is: 6718f4e1a87e344009dd7cb4b03f7fb3
The sha1sum is: b3cabe7925b163e5ad553fcef12bc9c823231c4c