Don't use multipart/alternative for SmartReply/Forward text

* When confirmed fixed, this should be backported to MR2/MR2

Bug: 4490341
Change-Id: Ie99047b465ed7087e6e0100f7d517ac3fb6b803c
This commit is contained in:
Marc Blank 2011-05-26 10:18:24 -07:00
parent d89136e037
commit 09a071a879
1 changed files with 5 additions and 1 deletions

View File

@ -163,7 +163,11 @@ public class Rfc822Output {
}
}
messageBody[INDEX_BODY_TEXT] = text;
messageBody[INDEX_BODY_HTML] = getHtmlAlternate(body, useSmartReply);
// Exchange 2003 doesn't seem to support multipart w/SmartReply and SmartForward, so
// we'll skip this. Really, it would only matter if we could compose HTML replies
if (!useSmartReply) {
messageBody[INDEX_BODY_HTML] = getHtmlAlternate(body, useSmartReply);
}
return messageBody;
}