How can I force email programs to show images send

2020-02-05 19:27发布

I am sending an html email with php and it includes an image. Some email programs, such as gMail have a 'display images' button. The user has to click on that in order for the images in the email to show up.

Is there any way I can force email programs to show images that are sent within html emails generated by php?

7条回答
一夜七次
2楼-- · 2020-02-05 19:52

Doubt it, it would be a security issue if the 'src' of an image opened up a cross site scripting attack.

Cross site request forgery

Customers of a bank in Mexico were attacked in early 2008 with an image tag in email and were sent through their home routers to the wrong website.

查看更多
登录 后发表回答