What are the differences and implications of using either of these animals:multipart/related
mulitpart/mixed and
multipart/alternative
when and where is one used.
I created a document - essentially transfering from one document to the other - using the MIMEEntity class, creating child entities etc. My header is set to multipart/mixed. Now my final document has images stacked at the bottom and I noticed the original body uses multipart/related and alternative. see how my document appears in the end:
http://www.cs.uct.ac.za/~jdembare/lotus/notes.html.
Any ideas why this is happening?
jay
thnx
Subject: difference: “multipart/related; multipart/alternative; multipart/mixed”
Alternative parts are different alternatives, such as html or plain text. Your e-mail system will step through until it finds one it can handle, so if I remember correctly, you need to be sure to create your simplest (e.g.text/plain) last, but I might have that reversed.
Related parts are images and such that are related to the alternative parts, but should never be accepted on their own.
Mixed parts just identify that you have related and alternative parts, and that it is therefore a multipart mime and not a simple one part mime message.