Could you post an example of the "ugly headers"? That may provide a clue. I suspect a Content-Type problem.
In reply to Re^3: parsing and printing e-mail
by gmargo
in thread parsing and printing e-mail
by keiusui
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |