This class creates a multipart/alternative MIME message body suitable for HTML E-mail. Fairly no-frills, the main feature is the easy creation of E_mail bodies that have both aML E-mail. Fairly no-frills, the main feature is the easy creation of E_mail bodies that have both a plain-text and HTML verison, along with embedded images.
The library has a simple goal: to make it fairly simple to create HTML E-mail with embedded images. The code depends on the MIME::Types library. It works best when you have something like BlueCloth [1] available as well, though you can get by without that.
The code provides a core class for creating a multipart/alternative message bodies. The most likely use for this is to create E-mail, so there is also a helper class that wraps the core class and creates an E-mail message with headers and a multipart/alternative message body.
The motivation for writing this class was a need to create HTML E-mail that contained embedded images.
Download from: Rubyforge