All, For those of you that are using my pop3 client library, I have added code to parse emails retrieved from the server. This splits out the headers and separates out the mime parts. The header parsing is a direct port (from Lua 4 to Lua 5) of the MailBox Parsing from the Lua Wiki. (http://lua-users.org/wiki/MailBoxParsing) (Thank you!). The library can be found on my website at http://members.lycos.co.uk/martinkendall/ Thanks Martin