开发者

How do I send an embedded image in gmail

开发者 https://www.devze.com 2023-01-16 02:23 出处:网络
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

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

精彩评论

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