I
icfantv
We have a web application in which we are constructing multipart email
messages and sending them via an Exchange 2003 server.
The structure of the email message looks like this:
multipart/mixed
multipart/alternative
bodypart (text/plain)
bodypart (text/html)
bodypart (text/calendar)
bodypart (application/ics, base64 encoding, iCal file attachment)
The problem is that when we include the text/calendar bodypart, any embedded
images in the HTML bodypart are displayed as attachments at the bottom of the
email (which appears as a meeting request) in Outlook. Additionally, the
HTML is not rendered entirely correctly. Hyperlinks appear appropriately as
does the font formatting (e.g., bold), but table formatting is ignored and so
items are not lined up as they should.
If we remove the text/calendar bodypart, the HTML displays correctly,
including the inline images, but the email does not show up as a meeting
request.
Doing some digging, I saw that HTML with inline attachments should be in a
multipart/related section, however, we saw no change from the original
problem.
I posted this to the MS Exchange forum as well
(http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1382132&SiteID=17)
as I don't know where the problem officially lies. If anyone knows if this
is a bug, or has some insight as to how to get the HTML to display correctly
and also have the email show as a meeting invitation, I would appreciate it.
Thanks.
--adam
messages and sending them via an Exchange 2003 server.
The structure of the email message looks like this:
multipart/mixed
multipart/alternative
bodypart (text/plain)
bodypart (text/html)
bodypart (text/calendar)
bodypart (application/ics, base64 encoding, iCal file attachment)
The problem is that when we include the text/calendar bodypart, any embedded
images in the HTML bodypart are displayed as attachments at the bottom of the
email (which appears as a meeting request) in Outlook. Additionally, the
HTML is not rendered entirely correctly. Hyperlinks appear appropriately as
does the font formatting (e.g., bold), but table formatting is ignored and so
items are not lined up as they should.
If we remove the text/calendar bodypart, the HTML displays correctly,
including the inline images, but the email does not show up as a meeting
request.
Doing some digging, I saw that HTML with inline attachments should be in a
multipart/related section, however, we saw no change from the original
problem.
I posted this to the MS Exchange forum as well
(http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1382132&SiteID=17)
as I don't know where the problem officially lies. If anyone knows if this
is a bug, or has some insight as to how to get the HTML to display correctly
and also have the email show as a meeting invitation, I would appreciate it.
Thanks.
--adam