MS Graph: Send email with attachment

Certified Lead Developer

We are trying to send emails with attachments using the MS Graph sendMail API.

We're seeing an issue where the document is not being converted to Base64, see screenshot below.

Is the issue that we're starting with a json and converting to dictionary? This was done because if we define the dictionary directly, the key "@odata.type" is not recognised properly because of the period.

Thanks!

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data