module Mail

This whole class and associated specs is deprecated and will go away in the version 3 release of mail.

Mail Envelope

The Envelope class provides a field for the first line in an mbox file, that looks like “From mikel@test.lindsaar.net DATETIME”

This envelope class reads that line, and turns it into an Envelope.from and Envelope.date for your use.

encoding: utf-8

This is an almost cut and paste from ActiveSupport v3.0.6, copied in here so that Mail itself does not depend on ActiveSupport to avoid versioning conflicts