I'm trying to work with attachments.
As a test, I wrote the raw content of a multipart email in my web page.
Look at this section of the output:
------_=_NextPart_001_01C67E9D.4F953020 Content-Type: application/msword; name="Lab Capitulo 2.doc" Content-Transfer-Encoding: base64 Content-Description: Lab Capitulo 2.doc Content-Disposition: attachment; filename="Lab Capitulo 2.doc"
However, when I try to analize the structure of the part, all I get is name and filename (one dparameter and one parameter). Where is the Content-type in the part structure?
PS: oh, and part type shows up as 3 (application), but subtype is "id"