mail v0.0.4 Mail.Parsers.RFC2822
RFC2822 Parser
Will attempt to parse a valid RFC2822 message back into
a %Mail.Message{}
data model.
Mail.Parsers.RFC2822.parse(message)
%Mail.Message{body: "Some message", headers: %{to: ["user@example.com"], from: "other@example.com", subject: "Read this!"}}
Summary
Functions
Parses a RFC2822 timestamp to an Erlang timestamp
Functions
Parses a RFC2822 timestamp to an Erlang timestamp
RFC2822 3.3 - Date and Time Specification
Timezone information is ignored