org.conman.parsers.email

Parse RFC-5322 based email messages

$ luarocks install org.conman.parsers.email

Return a Lua table with the email headers parsed into individual
fields. Any fields not defined are returned in a field called
'generic'; the name is the raw header name, with the value the
raw value found.

This will also return the character position past the email headers
to facility reading in the body, if one exists.

Versions

1.0.1-1122 days ago17 downloads
1.0.1-02 years ago34 downloads

Dependencies

LPeg >= 1.0.1
lua

Labels

Manifests