When I receive an email which originated as a T-Mobile SMS text,
there are 4 attachments.
1 .txt file
What example should I look at that could allow me to save one of the attachments ?
asked Sep 25 at 17:25
This example shows what to do (see links below)
The MIME structure of the T-Mobile SMS text message is as follows:
multipart/related text/html text/plain image/gif image/gif image/gif
The email should have an HTML part, and 4 related parts.
The HTML part is not considered a "related item" because the related items are defined as being related to the HTML part. Therefore, we should always expect to find a text/html part under a multipart/related. The HTML parts is simply the HTML body, and the other parts are the related items. If the text/plain part was to be considered as an alternative body, then a properly structured email would include a multipart/alternative structure.
answered Sep 25 at 17:27