开发者

How do I send an embedded image in gmail

I want to send links like : http://www.geekinheels.com/storage/world_of_programming.jpg as eme开发者_StackOverflow中文版dded image. Is that possible.


You need to change the src attribute of the img tag inside your HTML body to "cid:XXXXX", where XXXXX is some string/identifier, e.g. "world_of_programming.jpg".

After that add your image as an attachment with Content-ID equal to "XXXXX", e.g.

Content-ID: world_of_programming.jpg

and you're good to go.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜