且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将图像嵌入到Outlook HTML电子邮件中?

更新时间:2023-09-20 08:54:58

如果可以选择在流程中进行手动操作,则可以这样操作:

If a manual step in the process is an option, you can do it like this:

  1. 使用链接到本地保存的图像文件
  2. <img>标签自动或手动将HTML创建为已保存的HTML文件. 在选择HTML文件作为附件时,使用"以文本形式插入"选项将 HTML附加到Outlook电子邮件中,该选项隐藏在插入"按钮的向下箭头下方.
  1. create the HTML automatically or manually as a saved HTML file, with <img> tags that link to locally-saved image files
  2. attach the HTML to an Outlook email using the 'Insert as text' option tucked away under the down-arrow on the "Insert" button when selecting the HTML file as an attachment.

这将使用文件中的HTML填充HTML电子邮件并嵌入所有图像.我相信该工具会使用Sam64电子邮件中所述的Base64编码来嵌入图像.

This populates the HTML email with the HTML from the file and embeds all images. I believe this tool uses Base64 encoding to embed the images as described in Sam's email.

根据工作流程,此方法可能比将图像自己转换为Base64容易.

Depending on the workflow, this method might be easier than converting images to Base64 yourself.

请注意,此方法仅适用于Windows的Outlook,不是Outlook for Mac .