你可以发送图像数据:uri格式到GMail? [英] Can you send images in data:uri format to GMail?

查看:133
本文介绍了你可以发送图像数据:uri格式到GMail?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Django制作一个网页应用程序,将用户的图像发送到他们的电子邮件。

I'm making a web app in Django that sends user an image to their email.

似乎对我发送图像最有吸引力的方式是 data:uri 格式。

The way that seems most attractive to me for sending the image is in the data:uri format.

但是,我测试发送这个电子邮件,其中包含一个数据:uri图像到我的GMail帐户,电子邮件显示,但没有图像!

However, I tested sending this email with a data:uri image in it to my GMail account, and the email shows, but without the image!

我知道Chrome和Firefox都可以打开数据:uri图像。所以这不是浏览器的问题。但是我没有看到数据:GMail中的uri图像。

I know that Chrome and Firefox can both open data:uri images. So it's not a browser problem. But I don't see the data:uri image in GMail at all.

GMail不支持数据:uri图像?或者可能我发送错误?

Does GMail not support data:uri images? Or possibly I'm sending them wrong?

推荐答案

不支持。

邮件客户端只需从您的帖子中删除。

Mail clients simply remove this from your post.

以下是可以支持的一个很好的参考:

Here is a good reference of what can be supported:

http://www.campaignmonitor.com/css /

这篇关于你可以发送图像数据:uri格式到GMail?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆