I have a database full of email messages that I would like to display on a web page. Many messages though are "This is a multi-part message in MIME format". I would like to extract from these messages the useful part only, which is usually the part between the <body> tags. Is anyone aware of a function that could do this for me or otherwise a clever technique to achieve this? I am using php 4.3.9.
Many thanks in advance for any tip.