<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Microsoft Graph API - mail.send is not accepting HTML/ CSS code in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-mail-send-is-not-accepting-HTML-CSS-code/m-p/45209#M1491</link>
    <description>&lt;P&gt;I have copied the (html)source code from a recieved email just to have the template/format of that email, and this is the error message that i am recieveing when running the API:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Internal : Unexpected error Error during Web API HTTP Request
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;HTTP Status Code: 400
HTTP Response Content: {
"error": {
"code": "BadRequest",
"message": "Unable to read JSON request payload. Please ensure Content-Type header is set and payload is of valid JSON format.",
"innerError": {
"date": "2020-12-02T17:01:05",
"request-id": "3ab50fc1-0c13-4536-96db-bf6b9b7a736d",
"client-request-id": "3ab50fc1-0c13-4536-96db-bf6b9b7a736d"
}
}
}&lt;/P&gt;
&lt;P&gt;I have tested basic commands using HTML such as making text bold and line breaks which work, but anything more complex and i will receive an error.&lt;/P&gt;
&lt;P&gt;Help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;

--------------------------------------------------&lt;BR /&gt;

&lt;B&gt;Disclaimer:&lt;/B&gt; This content was auto-posted from Stackoverflow. The original Stackoverflow question is here &lt;A href="https://stackoverflow.com/questions/65112744/microsoft-graph-api-mail-send-is-not-accepting-html-css-code"&gt;Stackoverflow Post&lt;/A&gt;, posted by &lt;A href="https://stackoverflow.com/users/9911374/domf"&gt;DomF&lt;/A&gt;.</description>
    <pubDate>Thu, 03 Dec 2020 09:00:00 GMT</pubDate>
    <dc:creator>Digital_WorkerB</dc:creator>
    <dc:date>2020-12-03T09:00:00Z</dc:date>
    <item>
      <title>Microsoft Graph API - mail.send is not accepting HTML/ CSS code</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-mail-send-is-not-accepting-HTML-CSS-code/m-p/45209#M1491</link>
      <description>&lt;P&gt;I have copied the (html)source code from a recieved email just to have the template/format of that email, and this is the error message that i am recieveing when running the API:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Internal : Unexpected error Error during Web API HTTP Request
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;HTTP Status Code: 400
HTTP Response Content: {
"error": {
"code": "BadRequest",
"message": "Unable to read JSON request payload. Please ensure Content-Type header is set and payload is of valid JSON format.",
"innerError": {
"date": "2020-12-02T17:01:05",
"request-id": "3ab50fc1-0c13-4536-96db-bf6b9b7a736d",
"client-request-id": "3ab50fc1-0c13-4536-96db-bf6b9b7a736d"
}
}
}&lt;/P&gt;
&lt;P&gt;I have tested basic commands using HTML such as making text bold and line breaks which work, but anything more complex and i will receive an error.&lt;/P&gt;
&lt;P&gt;Help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;

--------------------------------------------------&lt;BR /&gt;

&lt;B&gt;Disclaimer:&lt;/B&gt; This content was auto-posted from Stackoverflow. The original Stackoverflow question is here &lt;A href="https://stackoverflow.com/questions/65112744/microsoft-graph-api-mail-send-is-not-accepting-html-css-code"&gt;Stackoverflow Post&lt;/A&gt;, posted by &lt;A href="https://stackoverflow.com/users/9911374/domf"&gt;DomF&lt;/A&gt;.</description>
      <pubDate>Thu, 03 Dec 2020 09:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-mail-send-is-not-accepting-HTML-CSS-code/m-p/45209#M1491</guid>
      <dc:creator>Digital_WorkerB</dc:creator>
      <dc:date>2020-12-03T09:00:00Z</dc:date>
    </item>
  </channel>
</rss>

