Module: MailParser

Includes:
RFC2045, RFC2183, RFC2822
Defined in:
lib/mailparser/error.rb,
lib/mailparser.rb,
lib/mailparser/loose.rb,
lib/mailparser/rfc2047.rb,
lib/mailparser/conv_charset.rb,
lib/mailparser/rfc2045/parser.rb,
lib/mailparser/rfc2183/parser.rb,
lib/mailparser/rfc2822/parser.rb

Overview

Copyright © 2007-2011 TOMITA Masahiro [email protected]

Defined Under Namespace

Modules: Loose, RFC2045, RFC2047, RFC2183, RFC2231, RFC2822 Classes: ConvCharset, Header, HeaderItem, Message, ParseError

Constant Summary collapse

HEADER_PARSER =
{
  "date"                      => RFC2822,
  "from"                      => RFC2822,
  "sender"                    => RFC2822,
  "reply-to"                  => RFC2822,
  "to"                        => RFC2822,
  "cc"                        => RFC2822,
  "bcc"                       => RFC2822,
  "message-id"                => RFC2822,
  "in-reply-to"               => RFC2822,
  "references"                => RFC2822,
#    "subject"                   => RFC2822,
#    "comments"                  => RFC2822,
  "keywords"                  => RFC2822,
  "resent-date"               => RFC2822,
  "resent-from"               => RFC2822,
  "resent-sender"             => RFC2822,
  "resent-to"                 => RFC2822,
  "resent-cc"                 => RFC2822,
  "resent-bcc"                => RFC2822,
  "resent-message-id"         => RFC2822,
  "return-path"               => RFC2822,
  "received"                  => RFC2822,
  "content-type"              => RFC2045,
#    "content-description"       => RFC2045,
  "content-transfer-encoding" => RFC2045,
  "content-id"                => RFC2045,
  "mime-version"              => RFC2045,
  "content-disposition"       => RFC2183,
}

Constants included from RFC2045

RFC2045::HEADER_TYPE

Constants included from RFC2183

RFC2183::HEADER_TYPE

Constants included from RFC2822

RFC2822::HEADER_TYPE, RFC2822::ZONE

Method Summary

Methods included from RFC2045

b64_decode, parse, qp_decode

Methods included from RFC2183

parse

Methods included from RFC2822

parse