Padrino::Mailer::Mime

Module: Padrino::Mailer::Mime

Overview

Handles MIME type declarations for mail delivery.

Constant Summary

MIME_TYPES =

List of common mime-types, selected from various sources according to their usefulness for an email scope.

You can add your own mime types like:

Padrino::Mailer::Mime::MIME_TYPES.merge!("text/xml" => :xml)
{
  "text/html"  => :html,
  "text/plain" => :plain,
  "text/xml"   => :xml
}

Class Method Summary