How can I send a message using Microsoft Graph that would have both, text AND html bodies?
Microsoft Graph - Send email with text and html bodies
3.6k views Asked by Ωmega At
1
There are 1 answers
Related Questions in MICROSOFT-GRAPH-API
- MicrosoftGraph user impersonation for accessing mail messages
- IdentityServer3 Microsoft Graph scopes and flow
- How should I determine if an MSAL account has an Exchange based email system? (got an exception)
- Get shared calendar from different user(meeting room)
- odata.maxpagesize header not working in Microsoft Graph API?
- Opening OneDrive file in desktop Word
- Microsoft Graph API content 401 Unauthorized
- Getting multiple users/groups by objectids
- Microsoft Graph SDK C#: Use FileSavePicker with Onedrive
- How to use ConfidentialClientApplication to perform AppOnly requests to Graph (Group.ReadWrite.All)
Related Questions in MICROSOFT-GRAPH-MAIL
- Is the 3 MB limit for attachments in Microsoft Graph API mail messages cumulative?
- How to check which attachment within the message matches the search
- Microsoft Graph - Send email with text and html bodies
- Retrieve bounce email and bcc email Microsoft Graph API .Net Core
- Download .eml file with Microsoft Graph C#
- Send mail with multiple attachment using Graph API
- MS graph API for place always returning properties like "Building","Floor" as null
- Unable to send Email using Graph API (C# Console) by creating GraphServiceClient through AccessToken as well as ClientCredentialProvider
- Email with Multiple Attachments using Graph API (>4 MB)
- Transient “Access to OData is disabled”
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
For those finding this message sometime later, pulling your hair out trying to understand why Microsoft didn't make this clear in the documentation, see this post: Can Office 365 REST API send an email with both plain text and HTML body?
I've confirmed this on my end - once the graph API request is made, the Exchange server does, in fact, strip the HTML characters, creates a multipart message (with boundaries) and delivers in the appropriate format.
In my case, I only needed to set the following:
Here's an example of what the raw response (email source) looks like in gmail: