如何通过android默认电子邮件客户端发送带有图像的html内容? [英] How to send html content with image through android default email client?
问题描述
>你不能。由于默认电子邮件应用程序不支持< img />
标签。
因为 ImageSpan 不实现 Parcelable 。
因此,它的失败与 Intent的PUT_EXTRA 即可。
它仅适用于基本标签,例如< b>,< i>
..etc
查看使用< table>等在Android中发送html电子邮件 - 真的没有相对内置的Intent方式吗?和如何在电子邮件正文中显示图像?
How can we get inline images in default email client for android through Hypertext Markup Language (HTML) ?
You can not. As default Email application's doesn't support <img />
tag.
Because, ImageSpan doesn't implementing Parcelable.
Hence its failed with Intent's PUT_EXTRA.
Its works only for basic tags, like, <b>, <i>
..etc
Look at Sending html email in android using <table>, etc. - is there really no relatively built-in Intent way? and How to show an image in the email body?
这篇关于如何通过android默认电子邮件客户端发送带有图像的html内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!