stevo_ wrote:By hand?
Could well be he doesn't have access to a 'ready made' parser.
That could be true, but there are so many libraries out there for this sort of thing. Of course, I admit to writing my own MIME thing, but that was because I had to inspect the raw MIME before any library did anything to it.