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

RE: [Sheflug] Unique temporary filename



Ah.

I've just noticed why you want the filename.

MIME parsers have already been done.

Use MIME::Parser - it parses emails and can store attachments to a temporary 
file, or file with a specified name, or handle the whole lot in memory.

It's a good module - I've used it for a few projects.

CPAN is your friend.

Cheers.

Baz.

--
Barrie J. Bremner         OpenPGP public key ID: F78CEE08
TheEnglishman [at] ecosse.net   http://barriebremner.com/

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.