[hbpm] MIME::Lite

Gordon Stewart gordon at kwister.com
Mon Aug 11 09:19:57 CDT 2003


Hi there

Can anyone advise me of a web-tutorial (for dummies) in regards to 
MIME:Lite (or another MIME type)

Ive found HUNDREDS of tutorials & stuff in sending files via email, using 
MIME:Lite

however, I cannot find anything suitable to RECEIVE emails - with MIME.

Ive already got a system up & running, to send / receive, subscribe & 
unsubscribe to my mailing list system... - all written from scratch - in 
perl.. (I didnt get an existing system & re-design it..)

Basically, Ive got the entire message (headers & all) - in a $variable

How can I easily :-

1) Determine if a message has a mime component (i could create complex 
regexes, but I guess there is a short/quick way)

if it has a MIME component,

2) Split it up into HTML / TEXT emails (if its a combined email)

3) Save the attachment to the server (all properly formatted etc.. - EG a 
picture / file)


I guess I can then - send the file along its way - Using the various 
scripts i see for sending emails..

Thanks - all I need is the 'receiving' / 'saving'  parts...

G 




More information about the Hawkesbay mailing list