Gmail Api Replaces Text/plain Alternative Body Part With Automatically Generated One From Html
I'm sending emails from Android devices using the Gmail API with an alternative text/plain version. The email is structured as follows: multipart/mixed multipart/alternative
Solution 1:
Try to follow the answer here. Try to switch the order of the message, putting the HTML part first before the text/plain part.
The user should either choose the "best" type based on the user's environment and preferences, or offer the user the available alternatives. In general, choosing the best type means displaying only the LAST part that can be displayed.
It is based on the document that was link in the answer.
Post a Comment for "Gmail Api Replaces Text/plain Alternative Body Part With Automatically Generated One From Html"