Don't be that pessimistic. The MIME-Tools and the above sub do a great job for me separating text and non-text MIME components. As long as the mailer that sent the mail has ever heard about the relevant RFCs it is easy to handle.
If you don't believe, have a look at this webmailer (in German, but guessable) using the above sub.
For the fun surprises, notice the recursive call of that sub.
alex pleiner <alex@zeitform.de>
zeitform Internet Dienste
In reply to Re: Re: Re: email and MIME?
by projekt21
in thread email and MIME?
by cez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |