Description
http://tools.ietf.org/html/rfc2387 says that the "Type" parameter is required. We're only outputting it for xop, not for other mime things.
Also, the charset is stuck on the multipart/related content-type header when it shouldn't be. (just needed in the individual part headers)