[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Luasocket parse-email
- From: Jose <jmalv04@...>
- Date: Wed, 12 Nov 2008 18:53:40 +0100
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