问题
Im building a webmail client in RoR and using Gmail's API.
After receiving a response from Gmail's api for a multipart email, I was able to extract the text/html portion and display it in the browser correctly. Everything looks fine except all of the images are broken.
Upon inspecting the HTML, it shows <img src="cid:google_logo">
. I understand that this is an inline image referencing the actual image from the attachments. But where and how do I load the attachments into the browser?
I've been looking everywhere and I cannot find a solution. Please help...
来源:https://stackoverflow.com/questions/30144192/cannot-display-inline-images-in-html-using-gmail-api-with-ror