andrewg
committed
on 14 Feb 05
Look a little harder for the message body, and use only the first-encountered text/plain and text/html.