DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=18971>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=18971

[email] HTML email uses wrong MIME type?





------- Additional Comments From [EMAIL PROTECTED]  2004-10-24 12:58 -------
I don't see anything in the logs which explains the change, but I think you are quite 
right in suggesting 
that the mime type should be "multipart/alternative", not "multipart/related".  That 
is, for the text and 
html parts.  And yes, the text part should be rendered first.  

If one wants to use "bundling", then presumably the mime type of the non-plaintext 
part should be 
"multipart/related", not "text/html", and then that part itself should include one 
part (the 'root') of type 
"text/html" as well as many parts of other mime types as relevant.  

See also http://www.ietf.org/rfc/rfc2387.txt  for a few examples of Multipart/Related 
data.  I wonder if 
it might not be better to subclass HtmlEmail to handle multipart/related HTML content, 
rather than add 
complexity to the more basic (and probably more commonly used) HtmlEmail.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to