I'm trying to get inline images to work in emails that I'm sending through Sendgrid. Nothing has been working for me after hours of trying things. I don't really understand what CID is. I found a CID of the image I want to use by sending a regular email to myself with the image inline. It sends fine that way. But when I initiate the email through my server (rather than just in outlook.com) it isn't working. Do you really just put CID: and the random number. How is that supposed to produce the actual image if you haven't uploaded it.
Basically, referencing the image on my server didn't work, and I've tried base64 encoding and that didn't work. So now I'm trying to figure out if I'm supposed to send some different headers.
If anyone can send the code that they used to send inline images with the Sendgrid web api, it would be awesome.