is_multipart(content_type : Nil)
SourceMIME
MIME Provides raw email parsing capabilities
Constants
VERSION = "0.1.17"
Class methods
is_multipart(content_type : String)
Sourcemail_object_from_raw(raw_mime_data)
Sourcenormalize_crlf(data : String) : String
Support easy access with String Convert bare LF line endings to CRLF in a single pass. Returns the input unchanged (no copy) when it is already CRLF-only — the common case for mail received over SMTP. Lone CRs pass through untouched, matching the previous gsub(/\r\n/, "\n").gsub(/\n/, "\r\n") behavior without its three full-body copies.
parse_raw(mime_str : String)
Sourceparse_raw(mime_io : IO, boundary : String | Nil = nil)
Support efficient access as IO Stream Mail looks like: Content-Type=multipart%2Fmixed%3B+boundary%3D%22------------020601070403020003080006%22&Date=Fri%2...