在Delphi中生成带有嵌入图像的HTML电子邮件 [英] Generate HTML e-mail with embedded images in Delphi

查看:183
本文介绍了在Delphi中生成带有嵌入图像的HTML电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都知道生成具有嵌入图像和替代文本部分的HTML电子邮件的一个很好的例子?我需要以HTML格式生成一些表格报表,并希望嵌入徽标和其他图像。



我相信Indy可以通过一些工作来做到这一点,但我希望有人能指出一个很好的例子作为起点。我可以使用印度以外的图书馆和商业解决方案提供资源。质量和实施时间比成本更重要。该解决方案还需要支持基于SMTP的邮件交换器。



我的愿望清单上的其他项目是能够利用FastReports,TRichView或类似工具生成HTML消息内容。有两个HTML输出过滤器可用,但我没有机会进行任何测试。



提前感谢!



David

解决方案

阅读Indy网站上的以下文章:



HTML消息

新的HTML Message Builder类


Anyone know of a good example of generating HTML e-mail with embedded images and an alternate text part? I need to generate some tabular reports in HTML and would like to embed logos and other images.

I believe Indy can do this with some work, but I was hoping someone could point me to a good example as a starting point. I am open to using libraries other than Indy and commercial solutions provided source is available. Quality and time to implement is more important than cost. The solution also needs to support SMTP based delivery to a mail exchanger.

The other item on my wish list is to be able to leverage FastReports, TRichView or similar tool to generate the HTML message content. There are HTML output filters available for both, but I have not had the opportunity to do any testing. Any feedback on this subject would be appreciated.

Thanks in advance!

David

解决方案

Read the following articles on Indy's website:

HTML Messages
New HTML Message Builder class

这篇关于在Delphi中生成带有嵌入图像的HTML电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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