lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I am new to lua and am looking for the basic function to parse a raw
email message and decode the email content depending on the different
headers.

I imagine this is a function useful for any email client but the
Luasocket docs only mention the email sending case. I've seen there is
a mime module
but I am looking for the higher level function:

local t = parse-email email-string
t.subject  and t.body have the decoded text
and I imagine additional files for the alternative case or for getting
the attachments

thanks and regards
jose