SendMail symbols in subject line

Barone, Lou 56 Reputation points


When sending emails via SMTP you are able to inject images into the subject line, doing something similar to the below. I am trying to understand if there is a way to emulate this when sending a rest call to graph for sendMail.

$subject = "=?utf-8?Q? =F0=9F=8C=9F CONGRATULATIONS!"

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,774 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Barone, Lou 56 Reputation points

    For anyone else searching for an answer to this. The below is how you accomplish. Use Q for quotes printable taken from

    1 person found this answer helpful.
    0 comments No comments

  2. Barone, Lou 56 Reputation points

    This article goes over it from a spec standpoint. Just trying to see how to emulate this over the json\rest\graph post.

    0 comments No comments