Hi,
I'm viewing the contents of my mail box using Net::POP3. I would like to keep this box clean of mails with attachments, by simply establishing whether an attachment exists and deleting the email. I'm using the code outlined by Mr Barr to read the mails so unless there is great demand I won't reproduce it here. However on searching the pm site I see that to deal with attachments it is recommended to use email::mime, which is not currently provided on my server. I shall probably ask for it to be installed but in the meantime is there a line I can search for in the mail to tell me consistently if the attachment exists? It would seem to be overkill to use a module, although if it's the easiest, foolproof way then so be it...