SendMail symbols in subject line

Barone, Lou 36 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 Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
730 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Barone, Lou 36 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.
    No comments

  2. Barone, Lou 36 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.