function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ManojKumar MuthuManojKumar Muthu 

how to send attachment in the email along with Email Message from salesforce via rest API?

Hi All,

I have a requirement where I have to send emailmessage to web service via rest API (/services/data/v39.0/sobjects/EmailMessage/{Id}) same like that I have to send the attachment attached to that email via rest API.

I tried standard Attachment and ContentDocument API which is not working.
I would be so thankful If someone helps me with this