$ 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
Dependencies
LPeg >= 1.0.0, < 2.0.0
lua >= 5.1, < 5.5