I would like to teach Cloverleaf how to read e-mail messages. The problem is most e-mails arrive as a mime multi-part instead of a simple text message. Can anyone give me some tips on using ‘package mime’ to break apart a file into individual mime parts? I can get ‘mime::initialize -file myfile’ to read the file, and ‘mime::getheader’ to display the header information, but then I’m stuck. How do I parse the message into individual parts? Thanks for any assistance.
- Mark Thompson
HealthPartners