我们可以在不使用 HTML 的情况下将图像嵌入到电子邮件中吗?

发布于 2024-11-29 11:56:53 字数 325 浏览 1 评论 0原文

我想发送一封电子邮件,其中包含我的 C# 程序中的图像。我完全可以使用 How to Send Mails from通过 VB.NET 或 C# 访问您的 GMAIL 帐户。 Windows 编程,带有一点自定义

但是当我使用另一个电子邮件服务时,他们只是删除了电子邮件中的 HTML 标记部分,包括图像!那么有谁知道不使用 HTML 标签嵌入图像的方法吗?

提前致谢。

I want to send an e-mail consisting an image from my C# program. I can completely do that using the code samples at How to Send Mails from your GMAIL Account through VB.NET or C#. Windows Programming, with a Bit of Customization

But when I used another email service, they just remove the HTML tagged part including the image from the email! So does anyone know a method to embed the image without using HTML tags?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

只为守护你 2024-12-06 11:56:53

也许您可以将其作为附件发送?
这对你来说是一个选择吗?

perhaps you can send it as an attachment?
Can that be an option for you?

殤城〤 2024-12-06 11:56:53

除了旧方法之外,实际上没有其他方法可以做到这一点:

  • 作为附件发送,
  • 只需将完整(或缩短)的链接粘贴到您的内容正文中

There isn't really any way to do that other than the old:

  • send as attachment
  • just paste the full (or shortened) link into your content body
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文