带有 Outlook 插件的发件人图像

发布于 2024-08-04 03:31:53 字数 116 浏览 2 评论 0原文

Outlook 是否可以在邮件正文中显示邮件发件人的图像?我正在考虑将此功能开发为插件,它将查找发件人的邮件地址并获取发件人的图像并将其放入邮件正文中。

使用 Outlook 对象模型或 C# 可以吗?

Is it possible to show an image of the mail sender in mail body with Outlook? I am thinking of developing this feature as an addin that will lookup the sender's mail address and get an image of the sender and put it into the mail body.

Is that possible with Outlook object model or C#?

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

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

发布评论

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

评论(1

゛时过境迁 2024-08-11 03:31:53

这可以通过 Outlook 对象模型实现。

检索发件人地址很简单,查找...取决于您想要做什么。

对于 HTML 邮件,插入图片应该不会太难,并且您应该能够将其他正文格式转换为 HTML。

如果原型有效,请使用 VBA 进行尝试并构建一个独立的插件(使用 VSTO 或其他)。

更新:兑换示例中,您可以找到示例“创建带有嵌入图像的 HTML 消息”。
这有效地实现了您正在寻找的功能 - 您只需更改它即可使用现有消息,如果您不想依赖于赎回,请将其移植到 VSTO/VBA/COM AddIn/其他内容。

Its possible with the Outlook Object Model.

Retrieving the sender address is trivial, look-up... depends on what you want to do.

With HTML mails it shouldn't be too hard to insert the picture, and you should be able to convert the other body formats into HTML.

Try it out with VBA and build a stand-alone AddIn (with VSTO or whatever) if the prototype works.

Update: In the redemption examples you can find the example 'Create an HTML message with an embedded image'.
This effectively does what you are looking for - you just need to change it to work with an existing message and, if you don't want to depend on redemption, port it to VSTO/VBA/COM AddIn/whatever.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文